From 3f92da8dc53a88b86d6a2371daa2a500a27228c0 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 11 Dec 2018 18:59:11 +0100 Subject: [PATCH] mouse works in the color menu --- config.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.cpp b/config.cpp index 60351326..f61ba510 100644 --- a/config.cpp +++ b/config.cpp @@ -1491,6 +1491,7 @@ void edit_color_table(colortable& ct, const reaction_t& r = reaction_t()) { void show_color_dialog() { cmode = sm::SIDE | sm::DIALOG_STRICT_X; + getcstat = '-'; gamescreen(0); dialog::init(XLAT("customize colors and aura")); @@ -1552,8 +1553,6 @@ void show_color_dialog() { dialog::addBreak(50); dialog::addBack(); dialog::display(); - - getcstat = '-'; keyhandler = [] (int sym, int uni) { if(uni == '-') {