mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Cleanup unnecessary log and unused variable from last PR (#1279)
This commit is contained in:
parent
d38f889bd6
commit
db556f18b8
@ -662,7 +662,6 @@ export class LayoutModel {
|
|||||||
* @param leafOrder The new leaf order array to use when searching for stale nodes in the stack.
|
* @param leafOrder The new leaf order array to use when searching for stale nodes in the stack.
|
||||||
*/
|
*/
|
||||||
private validateFocusedNode(leafOrder: LeafOrderEntry[]) {
|
private validateFocusedNode(leafOrder: LeafOrderEntry[]) {
|
||||||
console.log("validateFocusedNode", this.treeState.focusedNodeId, this.focusedNodeId, this.focusedNodeIdStack);
|
|
||||||
if (this.treeState.focusedNodeId !== this.focusedNodeId) {
|
if (this.treeState.focusedNodeId !== this.focusedNodeId) {
|
||||||
// Remove duplicates and stale entries from focus stack.
|
// Remove duplicates and stale entries from focus stack.
|
||||||
const newFocusedNodeIdStack: string[] = [];
|
const newFocusedNodeIdStack: string[] = [];
|
||||||
|
@ -332,7 +332,6 @@ export interface LayoutNodeAdditionalProps {
|
|||||||
rect?: Dimensions;
|
rect?: Dimensions;
|
||||||
pixelToSizeRatio?: number;
|
pixelToSizeRatio?: number;
|
||||||
resizeHandles?: ResizeHandleProps[];
|
resizeHandles?: ResizeHandleProps[];
|
||||||
isLastEphemeralNode?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface NodeModel {
|
export interface NodeModel {
|
||||||
|
Loading…
Reference in New Issue
Block a user