Picking the color at mouse release so if running on a touchscreen device one can get an overview of what wil be selected while dragging the finger on the screen.
This commit is contained in:
parent
f664b7af18
commit
01556f1522
1 changed files with 1 additions and 1 deletions
|
|
@ -19559,7 +19559,7 @@ static int do_color_picker(void)
|
|||
done = 1;
|
||||
}
|
||||
}
|
||||
else if (event.type == SDL_MOUSEBUTTONDOWN &&
|
||||
else if (event.type == SDL_MOUSEBUTTONUP &&
|
||||
valid_click(event.button.button))
|
||||
{
|
||||
if (event.button.x >= color_picker_left &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue