Release v2.16.6: fix slide animation controls
This commit is contained in:
1 parent
5b5d5da511
commit
03a27c8e25
8 files changed
+30
-5
No files matched your search
@@ -3258,6 +3258,10 @@ html[data-bs-theme='dark'] .template-field-card .tox .tox-collection {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.region-field-grid--animation [data-animation-preset][hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.region-field-grid > label {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
|
||||
@@ -82,6 +82,10 @@
|
||||
return lookup[raw.toLowerCase()] || 'none';
|
||||
}
|
||||
|
||||
var animateCssCategoryOverrides = {
|
||||
hinge: 'outro'
|
||||
};
|
||||
|
||||
function splitAnimateCssValues(values) {
|
||||
var groups = {
|
||||
intro: [],
|
||||
@@ -94,6 +98,12 @@
|
||||
return;
|
||||
}
|
||||
|
||||
var categoryOverride = animateCssCategoryOverrides[value];
|
||||
if (categoryOverride && groups[categoryOverride]) {
|
||||
groups[categoryOverride].push(value);
|
||||
return;
|
||||
}
|
||||
|
||||
if (value.indexOf('In') !== -1) {
|
||||
groups.intro.push(value);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user