[196][197] Bodenbelag anwählbar (Decke anderes Geschoss), Geschoss-Auge schaltet nur sich und gilt im 3D, Cmd+3/4 ohne Kamera-Einpassen, Öffnungen folgen dem Wirt

This commit is contained in:
Claude committed 2026-11-12 00:10:08 +00:00
1 parent b980bf7e52
commit 0d57391f03
22 files changed
+316 -76

No files matched your search

+4 -4
View File
@@ -22,6 +22,7 @@ import type { DrawingLevelsCommandHandlers, DrawingLevelsSyncState } from "./dra
import type { DrawingLevelKind } from "../model/types";
import { t } from "../i18n";
import { listenBridgeState } from "./windowBridge";
import { frozenLevelFlags } from "../panels/displayMode";
type HandlerName = keyof DrawingLevelsCommandHandlers;
@@ -100,10 +101,9 @@ export function DrawingLevelsWindowApp() {
// Klick aufs Auge in „Alle anzeigen"/„Nur aktive" schaltet automatisch auf
// „Ausgewählte" — dieselbe DOSSIER-Regel wie im Dock-Panel.
const toggle = (id: string) => {
if (state.displayMode === "all_force" || state.displayMode === "active") {
handlers.onSetDisplayMode("all");
}
handlers.onToggleLevel(id);
const frozen = frozenLevelFlags(state.displayMode, state.drawingLevels, state.activeLevelId);
if (frozen) handlers.onSetDisplayMode("all");
handlers.onToggleLevel(id, frozen ?? undefined);
};
return (
+1 -1
View File
@@ -32,7 +32,7 @@ export interface DrawingLevelsSyncState {
export interface DrawingLevelsCommandHandlers {
onSelectLevel: (id: string) => void;
onToggleLevel: (id: string) => void;
onToggleLevel: (id: string, frozen?: Record<string, boolean>) => void;
onAddFloor: () => void;
onAddSection: () => void;
onAddElevation: () => void;