1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 17:27:57 +00:00

fixed linked settings

This commit is contained in:
Zeno Rogue
2024-08-21 20:18:10 +02:00
parent afb9671989
commit fcf7bfba50
3 changed files with 47 additions and 24 deletions

View File

@@ -1078,6 +1078,7 @@ EX namespace models {
p.alpha = 1;
auto proj = param_custom_ld(p.alpha, sp+"projection", menuitem_projection_distance, 'p');
proj->help_text = "projection distance|Gans Klein Poincare orthographic stereographic";
proj->reaction = [] { update_linked(vid.tc_alpha); };
}
else {
param_f(p.alpha, sp+"projection", 1);