mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-28 07:52:53 +00:00
edit unreversed colors easily
This commit is contained in:
parent
03b7804817
commit
313666a240
@ -2697,6 +2697,11 @@ EX void show_color_dialog() {
|
|||||||
if(specialland == laCanvas && colortables.count(patterns::whichCanvas)) {
|
if(specialland == laCanvas && colortables.count(patterns::whichCanvas)) {
|
||||||
dialog::addItem(XLAT("pattern colors"), 'P');
|
dialog::addItem(XLAT("pattern colors"), 'P');
|
||||||
dialog::add_action_push([] { edit_color_table(colortables[patterns::whichCanvas], refresh_canvas, true); });
|
dialog::add_action_push([] { edit_color_table(colortables[patterns::whichCanvas], refresh_canvas, true); });
|
||||||
|
|
||||||
|
if(patterns::whichCanvas == 'R') {
|
||||||
|
dialog::addItem(XLAT("unreversed colors"), 'U');
|
||||||
|
dialog::add_action_push([] { edit_color_table(colortables['A'], refresh_canvas, true); });
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cwt.at->land == laMinefield) {
|
if(cwt.at->land == laMinefield) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user