mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +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() {
|
void show_color_dialog() {
|
||||||
cmode = sm::SIDE | sm::DIALOG_STRICT_X;
|
cmode = sm::SIDE | sm::DIALOG_STRICT_X;
|
||||||
|
getcstat = '-';
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
dialog::init(XLAT("customize colors and aura"));
|
dialog::init(XLAT("customize colors and aura"));
|
||||||
|
|
||||||
@ -1553,8 +1554,6 @@ void show_color_dialog() {
|
|||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
|
||||||
getcstat = '-';
|
|
||||||
|
|
||||||
keyhandler = [] (int sym, int uni) {
|
keyhandler = [] (int sym, int uni) {
|
||||||
if(uni == '-') {
|
if(uni == '-') {
|
||||||
cell *c = mouseover;
|
cell *c = mouseover;
|
||||||
|
Loading…
Reference in New Issue
Block a user