mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
fix: polish device marker geometry and input
Issue: #213 User-Visible: yes
This commit is contained in:
@@ -574,14 +574,14 @@ export const MUTANTS = [
|
||||
},
|
||||
{
|
||||
id: 'device-visual-factor-removed',
|
||||
guard: 'node --test --test-name-pattern="issue 212 applies one visual" '
|
||||
guard: 'node --test --test-name-pattern="issue 213 resolves the effective base" '
|
||||
+ 'test/device-marker-polish-contract.test.mjs',
|
||||
because: 'the owner-requested 10% correction must stay in the shared marker geometry '
|
||||
+ 'without changing stored icon_size or the interaction target',
|
||||
because: 'the current effective size must be resolved once at the surface boundary; '
|
||||
+ 'restoring a late face-level 0.9 factor would shrink every marker a second time',
|
||||
patches: [{
|
||||
file: 'src/styles.ts',
|
||||
find: ' --device-visual-factor: 0.9;',
|
||||
replace: ' --device-visual-factor: 1;',
|
||||
find: ' --dev-size: calc(var(--device-base-size, 2.25cqw) * var(--dev-scale, 1));',
|
||||
replace: ' --dev-size: calc(var(--device-base-size, 2.25cqw) * var(--dev-scale, 1) * 0.9);',
|
||||
}],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user