mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +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"));
|
||||||
|
|
||||||
@ -1552,8 +1553,6 @@ void show_color_dialog() {
|
|||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
|
||||||
getcstat = '-';
|
|
||||||
|
|
||||||
keyhandler = [] (int sym, int uni) {
|
keyhandler = [] (int sym, int uni) {
|
||||||
if(uni == '-') {
|
if(uni == '-') {
|
||||||
|
Loading…
Reference in New Issue
Block a user