more drawing tool improvements; no crash drawing tool; restart editors will ask for confirmation

This commit is contained in:
Zeno Rogue
2020-04-17 20:34:49 +02:00
parent 62c6651392
commit c24658bf38
3 changed files with 35 additions and 27 deletions
+1 -1
View File
@@ -3363,7 +3363,7 @@ bool openorsafe(cell *c) {
EX color_t stdgridcolor = 0x202020FF;
EX int gridcolor(cell *c1, cell *c2) {
if(cmode & sm::DRAW) return Dark(forecolor);
if(cmode & sm::DRAW && !mapeditor::drawing_tool) return Dark(forecolor);
if(!c2)
return 0x202020 >> darken;
int rd1 = rosedist(c1), rd2 = rosedist(c2);