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:
parent
05d138ff69
commit
3f92da8dc5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user