1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

changing Euclid scale now applies settings 'light'

This commit is contained in:
Zeno Rogue 2023-04-27 22:46:07 +02:00
parent d4e71b78c6
commit b49a52d6af

View File

@ -913,16 +913,16 @@ EX void initConfig() {
param_f(geom3::euclid_embed_scale, "euclid_embed_scale", "euclid_embed_scale") param_f(geom3::euclid_embed_scale, "euclid_embed_scale", "euclid_embed_scale")
-> editable(0, 2, 0.05, "Euclidean embedding scale", "How to scale the Euclidean map, relatively to the 3D absolute unit.", 'X') -> editable(0, 2, 0.05, "Euclidean embedding scale", "How to scale the Euclidean map, relatively to the 3D absolute unit.", 'X')
-> set_sets([] { dialog::bound_low(0.05); }) -> set_sets([] { dialog::bound_low(0.05); })
-> set_reaction(geom3::apply_settings_full); -> set_reaction(geom3::apply_settings_light);
param_f(geom3::euclid_embed_scale_y, "euclid_embed_scale_y", "euclid_embed_scale_y") param_f(geom3::euclid_embed_scale_y, "euclid_embed_scale_y", "euclid_embed_scale_y")
-> editable(0, 2, 0.05, "Euclidean embedding scale Y/X", "This scaling factor affects only the Y coordinate.", 'Y') -> editable(0, 2, 0.05, "Euclidean embedding scale Y/X", "This scaling factor affects only the Y coordinate.", 'Y')
-> set_sets([] { dialog::bound_low(0.05); }) -> set_sets([] { dialog::bound_low(0.05); })
-> set_reaction(geom3::apply_settings_full); -> set_reaction(geom3::apply_settings_light);
param_f(geom3::euclid_embed_rotate, "euclid_embed_rotate", "euclid_embed_rotate") param_f(geom3::euclid_embed_rotate, "euclid_embed_rotate", "euclid_embed_rotate")
-> editable(0, 360, 15, "Euclidean embedding rotation", "How to rotate the Euclidean embedding, in degrees.", 'F') -> editable(0, 360, 15, "Euclidean embedding rotation", "How to rotate the Euclidean embedding, in degrees.", 'F')
-> set_reaction(geom3::apply_settings_full); -> set_reaction(geom3::apply_settings_light);
param_enum(embedded_shift_method_choice, "embedded_shift_method", "embedded_shift_method", smcBoth) param_enum(embedded_shift_method_choice, "embedded_shift_method", "embedded_shift_method", smcBoth)
-> editable({ -> editable({