forked from 1b-agent/opencadstudio-upstream
- A blank script line outside a command repeats the last command through dispatch_command, as the command line's empty Enter does. - ZOOMFACTOR bound docs describe the SETVAR range the PR widened, and the test keeps checking the value the Options field reaches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
59b76ada5c
commit
fd12ef7768
3 files changed
+10
-8
No files matched your search
+5
-7
@@ -171,13 +171,11 @@ pub fn clamp_right_click_hold_ms(v: i32) -> i32 {
|
||||
|
||||
/// ZOOMFACTOR bounds.
|
||||
///
|
||||
/// `ZOOM_FACTOR_SYSVAR_MAX` is the range the system variable has: `SETVAR
|
||||
/// ZOOMFACTOR` accepts 3 to 100 and nothing else, so a drawing session set
|
||||
/// up on the command line stays within the range the variable has everywhere
|
||||
/// else. The Options window is the app's own surface and reaches
|
||||
/// `ZOOM_FACTOR_MAX` for anyone who wants a faster wheel than the variable
|
||||
/// can express; that value lives only in this application's own
|
||||
/// configuration file, so it is nobody else's to read.
|
||||
/// `ZOOM_FACTOR_SYSVAR_MAX` is where the Options slider stops: the range the
|
||||
/// variable has elsewhere. Both the Options field and `SETVAR ZOOMFACTOR`
|
||||
/// reach `ZOOM_FACTOR_MAX` for anyone who wants a faster wheel; the value
|
||||
/// lives only in this application's own configuration file, so it is nobody
|
||||
/// else's to read.
|
||||
pub const ZOOM_FACTOR_MIN: i32 = 3;
|
||||
pub const ZOOM_FACTOR_SYSVAR_MAX: i32 = 100;
|
||||
pub const ZOOM_FACTOR_MAX: i32 = 500;
|
||||
|
||||
Reference in new issue
Block a user