Persist project workspace settings

This commit is contained in:
Formsmith
2026-06-13 10:26:40 +03:00
parent f1d914e2c3
commit 7457c94581
8 changed files with 193 additions and 21 deletions
@@ -28,6 +28,7 @@ export function TransformOverlay({
editingRotation,
rotationReadout,
showRotationWheel,
hideSelectionChrome,
hideDimensionMarks,
rotationWheelAxis,
pinnedRotationWheelView,
@@ -74,7 +75,7 @@ export function TransformOverlay({
const plane = pinnedWheel?.plane ?? box.rotationPlanes[rotationWheelAxis];
const wheel = pinnedWheel?.wheel ?? box.rotationWheels[rotationWheelAxis] ?? box.rotationWheel;
return (
<div className="transform-overlay" aria-hidden="true">
<div className={`transform-overlay ${hideSelectionChrome ? "hide-selection-chrome" : ""}`} aria-hidden="true">
{showRotationWheel && wheel && plane ? (
<svg
className={`rotation-protractor-plane axis-${rotationWheelAxis}`}
@@ -84,6 +84,7 @@ export type TransformOverlayProps = {
editingRotation: EditingRotation;
rotationReadout: RotationReadout;
showRotationWheel: boolean;
hideSelectionChrome: boolean;
hideDimensionMarks: boolean;
rotationWheelAxis: RotationAxis;
pinnedRotationWheelView: PinnedRotationWheelView | null;