mouse acces for magic, still fill and ripples are wrong in mouse accessibility mode, all other should work.
This commit is contained in:
parent
189fcc877d
commit
4c7a610cb9
1 changed files with 5 additions and 2 deletions
|
|
@ -4513,7 +4513,10 @@ static void mainloop(void)
|
|||
}
|
||||
|
||||
if (mouseaccessibility)
|
||||
emulate_button_pressed = !emulate_button_pressed;
|
||||
{
|
||||
if (magics[cur_magic].mode != MODE_FULLSCREEN)
|
||||
emulate_button_pressed = !emulate_button_pressed;
|
||||
}
|
||||
}
|
||||
else if (cur_tool == TOOL_ERASER)
|
||||
{
|
||||
|
|
@ -17836,7 +17839,7 @@ static float magic_sRGB_to_linear(Uint8 srgb)
|
|||
|
||||
static int magic_button_down(void)
|
||||
{
|
||||
return(button_down);
|
||||
return(button_down || emulate_button_pressed);
|
||||
}
|
||||
|
||||
static SDL_Surface * magic_scale(SDL_Surface * surf, int w, int h, int aspect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue