A project you may only look at takes no edit, and greys what would make one
It used to take the edit and never save it, so a drawing stayed until the next reload and was gone after. `edit/edit-entry`, the one way a person changes the document, now refuses every edit when you cannot edit, rather than each command checking for itself; renaming the project and regenerating settings, which go around it, check too. The stage only selects, and the drawing tools, swatches, inspector fields, the timeline's edit buttons and the pool's add and upload are greyed out. Selecting, inspecting, playing and the view's own settings stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
00e94c025a
commit
ef06f51d91
7 changed files with 68 additions and 10 deletions
|
|
@ -2062,3 +2062,14 @@ button.tl-key.selected { background: var(--pick); box-shadow: 0 0 0 2px var(--pi
|
|||
cursor: ew-resize; touch-action: none;
|
||||
background: linear-gradient(var(--sel), var(--sel)) center / 2px 100% no-repeat;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------
|
||||
read-only — somebody else's project. `events/edit` refuses the edits; this
|
||||
greys out what would make them, so nothing offers what it cannot do.
|
||||
Selecting, inspecting, playing and the view's own settings stay. */
|
||||
.app.read-only :is(
|
||||
.toolbox .tool:not(.tool-select), .toolbox > :not(.tools),
|
||||
.context-controls, .creation-controls, button.auto-key,
|
||||
.params .inspect :is(input, select, textarea, button),
|
||||
.pool-foot
|
||||
) { opacity: .4; pointer-events: none; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue