bx-1379-redesign #15

Merged
ksenia_mikhailova merged 124 commits from bx-1379-redesign into dev 2024-09-06 15:39:13 +03:00
2 changed files with 19 additions and 2 deletions
Showing only changes of commit 117db0a040 - Show all commits

View File

@ -89,7 +89,7 @@ $boxShadow: 0px 0px 8px rgba(0, 0, 0, .25);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
gap: 1rem; gap: 0.75rem;
color: var(--primary-color); color: var(--primary-color);
cursor: pointer; cursor: pointer;
@ -106,6 +106,7 @@ $boxShadow: 0px 0px 8px rgba(0, 0, 0, .25);
max-height: 20vh; max-height: 20vh;
overflow: auto; overflow: auto;
margin-top: 1.125rem; margin-top: 1.125rem;
padding-left: 2rem;
} }
} }
@ -126,4 +127,20 @@ $boxShadow: 0px 0px 8px rgba(0, 0, 0, .25);
border-bottom: 2px solid var(--primary-color); border-bottom: 2px solid var(--primary-color);
} }
&-list {
&-item {
display: flex;
justify-content: space-between;
margin-right: 0.25rem;
input[type=radio],
input[type=checkbox] {
order: 10
}
label {
flex-grow: 1;
}
}
}
} }

View File

@ -281,7 +281,7 @@ watch(() => sidebar, () => {
if (!target) return if (!target) return
const el = seekByName(scene.value, `${sidebar.id_clickable}_clickable`); const el = seekByName(scene.value, `${sidebar.id_clickable}_clickable`);
if (el) { if (el) {
el.visible = false; // el.visible = false;
(controls.value as any).maxDistance = 10; (controls.value as any).maxDistance = 10;
(controls.value as any).minDistance = 1; (controls.value as any).minDistance = 1;
const target_vector = new Vector3(); const target_vector = new Vector3();