forked from 1b-agent/opencadstudio-upstream
chore: drop brand names and orphaned PICK_HIGHLIGHT colours
Neutralise vendor references in comments to plain behavioural descriptions (object acquisition / object snap). Remove the PICK_HIGHLIGHT and PICK_HIGHLIGHT_DIM wire colours: their only consumer was the stripped storm-sewer add-on, and the retained plugin acquisition pathway draws the ObjectPick snap glyph and per-command hover previews instead, so the constants are dead. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
5a36494ed7
commit
02b0fc4dcf
6 files changed
+8
-13
No files matched your search
+2
-2
@@ -501,7 +501,7 @@ impl canvas::Program<Message> for SelectionCanvas {
|
||||
// ── Snap marker ───────────────────────────────────────────────────
|
||||
if let Some((sp, snap_type)) = self.snap {
|
||||
let (r, g, b) = if snap_type == SnapType::ObjectPick {
|
||||
(0.95_f32, 0.50, 0.08) // C3D-style orange object snap
|
||||
(0.95_f32, 0.50, 0.08) // orange object-snap marker
|
||||
} else {
|
||||
(1.0, 0.9, 0.1) // classic yellow OSNAP
|
||||
};
|
||||
@@ -513,7 +513,7 @@ impl canvas::Program<Message> for SelectionCanvas {
|
||||
};
|
||||
match snap_type {
|
||||
SnapType::ObjectPick => {
|
||||
// Target box + center dot (Civil 3D acquisition glyph).
|
||||
// Target box + center dot (object-acquisition glyph).
|
||||
let h = 7.0_f32;
|
||||
let rect = canvas::Path::rectangle(
|
||||
Point::new(sp.x - h, sp.y - h),
|
||||
|
||||
Reference in new issue
Block a user