mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 00:17:39 +00:00
line/circle tools added to the texture editor; grid color changing in texture editor
This commit is contained in:
@@ -663,6 +663,7 @@ void mainloopiter() {
|
||||
mousepressed = ev.type == SDL_MOUSEBUTTONDOWN;
|
||||
if(mousepressed) flashMessages();
|
||||
mousing = true;
|
||||
bool was_holdmouse = holdmouse;
|
||||
holdmouse = false;
|
||||
|
||||
bool act = false;
|
||||
@@ -675,7 +676,10 @@ void mainloopiter() {
|
||||
actonrelease = ev.type == SDL_MOUSEBUTTONDOWN;
|
||||
}
|
||||
|
||||
if(ev.type != SDL_MOUSEMOTION) fix_mouseh();
|
||||
fix_mouseh();
|
||||
|
||||
if(was_holdmouse && ev.type == SDL_MOUSEBUTTONUP)
|
||||
sym = uni = PSEUDOKEY_RELEASE;
|
||||
|
||||
if(!act) ;
|
||||
|
||||
|
Reference in New Issue
Block a user