mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
fixed ESC not working in draw editor, and 'fill' showing incorrectly
This commit is contained in:
parent
edc173a538
commit
cbf8167d8f
@ -2386,7 +2386,7 @@ EX namespace mapeditor {
|
|||||||
else if(freedraw) {
|
else if(freedraw) {
|
||||||
dialog::addBoolItem_action("symmetry", texture::texturesym, '0');
|
dialog::addBoolItem_action("symmetry", texture::texturesym, '0');
|
||||||
if(drawing_tool) {
|
if(drawing_tool) {
|
||||||
if(dtfill)
|
if(!dtfill)
|
||||||
dialog::addBoolItem(XLAT("fill"), dtfill, 'f');
|
dialog::addBoolItem(XLAT("fill"), dtfill, 'f');
|
||||||
else
|
else
|
||||||
dialog::addColorItem(XLAT("fill"), dtcolor, 'f');
|
dialog::addColorItem(XLAT("fill"), dtcolor, 'f');
|
||||||
@ -2947,6 +2947,7 @@ EX namespace mapeditor {
|
|||||||
|
|
||||||
handlePanning(sym, uni);
|
handlePanning(sym, uni);
|
||||||
dialog::handleNavigation(sym, uni);
|
dialog::handleNavigation(sym, uni);
|
||||||
|
if(uni == SDLK_ESCAPE) popScreen();
|
||||||
|
|
||||||
if(uni == SETMOUSEKEY) {
|
if(uni == SETMOUSEKEY) {
|
||||||
if(mousekey == newmousekey)
|
if(mousekey == newmousekey)
|
||||||
|
Loading…
Reference in New Issue
Block a user