Spot white balance tool's square does not get drawn under the cursor, Issue 2714
This commit is contained in:
parent
5a80715b5c
commit
dadcc957cb
@ -381,8 +381,9 @@ void CropWindow::buttonPress (int button, int type, int bstate, int x, int y) {
|
||||
rot_deg = 0;
|
||||
}
|
||||
else if (iarea->getToolMode () == TMSpotWB) {
|
||||
screenCoordToImage (x, y, action_x, action_y);
|
||||
iarea->spotWBSelected (action_x, action_y);
|
||||
int spotx, spoty;
|
||||
screenCoordToImage (x, y, spotx, spoty);
|
||||
iarea->spotWBSelected (spotx, spoty);
|
||||
}
|
||||
else if (iarea->getToolMode () == TMCropSelect && cropgl) {
|
||||
state = SCropSelecting;
|
||||
|
Loading…
x
Reference in New Issue
Block a user