feat: upgrade to v1.3.2 with settings panel overhaul, clear height enhancements and bug fixes
- Overhaul settings dialog: add edge line toggle, contrast/saturation/light intensity sliders, environment and ground type selectors - Add clear height measurement options: direction (up/down) and select type (point/element) with radio button UI - Fix right-click context menu triggering during model drag rotation (add move threshold) - Fix measure dialog event listener leak (on → off for cleanup) - Update mini map API to use engine.minMap.toggle() - Replace text-based measure icons with proper SVG assets (净高/净距/坐标/面积) - Add i18n keys for all new settings and clear height options (zh-CN / en-US) - Bump iflow-engine-base dependency to ^2.0.5 - Rebuild dist and sync demo libs
This commit is contained in:
@@ -208,6 +208,66 @@
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
/* ========== 模式选项区(净高朝向/选择对象) ========== */
|
||||
.bim-measure-mode-options {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--bim-divider);
|
||||
}
|
||||
|
||||
.bim-measure-mode-options.is-visible {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.bim-measure-radio-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.bim-measure-radio-group .bim-measure-radio-label {
|
||||
color: var(--bim-text-secondary);
|
||||
min-width: 58px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.bim-measure-radio-group .bim-measure-radio-items {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.bim-measure-radio-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 26px;
|
||||
padding: 0 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--bim-border-default);
|
||||
background: var(--bim-bg-inset);
|
||||
color: var(--bim-text-secondary);
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.bim-measure-radio-item:hover {
|
||||
border-color: var(--bim-border-strong);
|
||||
color: var(--bim-text-primary);
|
||||
}
|
||||
|
||||
.bim-measure-radio-item.is-active {
|
||||
background: var(--bim-primary-subtle);
|
||||
border-color: var(--bim-primary);
|
||||
color: var(--bim-primary);
|
||||
}
|
||||
|
||||
.bim-measure-result {
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
|
||||
Reference in New Issue
Block a user