mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 10:36:34 +01:00
Expose show-grid-rulers ui preference
This commit is contained in:
parent
2cffca4c40
commit
c29471373b
1 changed files with 9 additions and 0 deletions
|
|
@ -3338,6 +3338,15 @@ These settings will only take effect after %1 is restarted.\n\
|
||||||
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_grid_follows_internal)
|
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_grid_follows_internal)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
add_option (_("Editor/Snap"),
|
||||||
|
new BoolOption (
|
||||||
|
"show-grid-rulers",
|
||||||
|
_("Grid mode selection may change ruler visibility"),
|
||||||
|
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_show_grids_ruler),
|
||||||
|
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_show_grids_ruler)
|
||||||
|
));
|
||||||
|
|
||||||
|
// TODO toggle sensitivity of rulers-follow-grid when show-grid-rulers changes
|
||||||
add_option (_("Editor/Snap"),
|
add_option (_("Editor/Snap"),
|
||||||
new BoolOption (
|
new BoolOption (
|
||||||
"rulers-follow-grid",
|
"rulers-follow-grid",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue