mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-05 21:33:58 +00:00
rogueviz:: edit weight gamma via UI
This commit is contained in:
parent
84344e7d5d
commit
828c185520
@ -1039,6 +1039,10 @@ void configure_edge_display() {
|
|||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
vizflags ^= RV_INVERSE_WEIGHT;
|
vizflags ^= RV_INVERSE_WEIGHT;
|
||||||
});
|
});
|
||||||
|
dialog::addSelItem("weight gamma", fts(ggamma), '5');
|
||||||
|
dialog::add_action([] {
|
||||||
|
dialog::editNumber(ggamma, 0, 2, 0.1, 1, "weight gamma", "");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
else mode = 0;
|
else mode = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user