merge: combine all features from both codebases - mobile dashboard + layer panel + notifications + shares + all fixes
This commit is contained in:
@@ -39,7 +39,6 @@ export class HistoryManager {
|
||||
private currentState: CADStateSnapshot | null = null;
|
||||
private maxStackSize: number;
|
||||
private listeners: Set<() => void> = new Set();
|
||||
private idCounter = 0;
|
||||
|
||||
constructor(options: HistoryManagerOptions = {}) {
|
||||
this.maxStackSize = options.maxStackSize ?? DEFAULT_MAX_SIZE;
|
||||
@@ -212,11 +211,6 @@ export class HistoryManager {
|
||||
private notifyListeners(): void {
|
||||
this.listeners.forEach((l) => l());
|
||||
}
|
||||
|
||||
/** Eindeutige ID generieren */
|
||||
private generateId(): string {
|
||||
return `hist-${++this.idCounter}-${Date.now()}`;
|
||||
}
|
||||
}
|
||||
|
||||
/** Default HistoryManager-Instanz (Singleton) */
|
||||
|
||||
Reference in New Issue
Block a user