mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Authoring: pick any scene again, and select the first scene on load
Restores the scene picker and its selection on load, after a delete and after an import, so PLAY and NEXT work after a reload. Open in GEV selecting a shot and NEW SCENE stay as they are.
This commit is contained in:
1 parent
1cb3e88027
commit
0a39b05cdb
30 files changed
+301
-210
No files matched your search
@@ -92,8 +92,8 @@ test('SCENES actions stay on one line in English', () => {
|
||||
.length,
|
||||
0,
|
||||
);
|
||||
const [name] = unguardedRules(css('scenes.css'), '#scene-name');
|
||||
assert.equal(declaration(name, 'white-space'), undefined);
|
||||
const [select] = unguardedRules(css('scenes.css'), '#scene-select');
|
||||
assert.equal(declaration(select, 'white-space'), undefined);
|
||||
});
|
||||
|
||||
test('Display and parameter rows keep their English layout', () => {
|
||||
|
||||
+10
-13
@@ -162,24 +162,21 @@
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* The scene being edited, read-only, takes its own row; NEW SCENE / DELETE
|
||||
share the next. A long name wraps. */
|
||||
#scene-name {
|
||||
/* The scene's name takes its own row; NEW SCENE / DELETE share the next. */
|
||||
#scene-select {
|
||||
flex: 1 1 100%;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
min-height: 32px;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
#scene-name.scene-name-empty {
|
||||
color: var(--scene-quiet);
|
||||
}
|
||||
|
||||
#empty-scene-select {
|
||||
flex: 1 1 100%;
|
||||
min-width: 0;
|
||||
html:not([lang='en']) #scene-select {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
/* A translated action longer than its button wraps inside the button instead
|
||||
|
||||
Reference in new issue
Block a user