1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

mouse works in the color menu

This commit is contained in:
Zeno Rogue 2018-12-11 18:59:11 +01:00
parent 05d138ff69
commit 3f92da8dc5

View File

@ -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 == '-') {