rogueviz:: edit weight gamma via UI

This commit is contained in:
Zeno Rogue 2022-11-13 13:44:32 +01:00
parent 84344e7d5d
commit 828c185520
1 changed files with 4 additions and 0 deletions

View File

@ -1039,6 +1039,10 @@ void configure_edge_display() {
dialog::add_action([] {
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;