mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
Use neutral drawing cursors over VectorCraft artwork
This commit is contained in:
1 parent
3a568c2011
commit
0c0804d3c7
1 file changed
+2
@@ -764,6 +764,8 @@ pub(crate) fn root_env(prefs: &vectorcraft_engine::Prefs, native_ppp: f32, print
|
||||
let (theme, mode, accent) = theme::root_theme(prefs);
|
||||
let scaling = applied_ui_scaling(prefs.ui_scaling);
|
||||
let mut root = RootEnv::new().theme(theme).mode(mode).accent(accent).scale(Scale::new(scaling)).tooltips(prefs.show_tool_tips);
|
||||
// Keep drawing pointers legible over artwork in either interface theme.
|
||||
root.values.set(craft::ui::primitives::DrawingCursorLook::Monochrome);
|
||||
root.sizes = theme::app_sizes();
|
||||
root.values.set(view::zoom_scheme(print, native_ppp));
|
||||
root.values.set(if prefs.scrub_numeric_fields { ScrubDrags::LabelOnly } else { ScrubDrags::Off });
|
||||
|
||||
Reference in new issue
Block a user