ATTDEF: the dialog's Specify on-screen choice is kept with the user settings

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-02 10:39:18 +03:00
1 parent 53f2983e9c
commit efbb1797cd
3 files changed
+7

No files matched your search

+3
View File
@@ -369,6 +369,8 @@ pub struct UserSettings {
/// IMAGEFRAME of the profile: used by new drawings and by drawings that
/// carry no image variables of their own.
pub image_frame: i16,
/// The Attribute Definition dialog's "Specify on-screen" choice.
pub attdef_on_screen: bool,
/// Nested-copy symbol handling: false inserts, true binds.
pub ncopy_bind: bool,
/// Last Options page; unknown saved names fall back without rejecting the config.
@@ -657,6 +659,7 @@ impl Default for UserSettings {
right_click_hold_ms: 250,
grip_object_limit: DEFAULT_GRIP_OBJECT_LIMIT,
image_frame: 1,
attdef_on_screen: true,
ncopy_bind: false,
cursor_type: CursorType::Crosshair,
crosshair_color: None,