1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +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"));
@ -1553,8 +1554,6 @@ void show_color_dialog() {
dialog::addBack();
dialog::display();
getcstat = '-';
keyhandler = [] (int sym, int uni) {
if(uni == '-') {
cell *c = mouseover;