Skip to content

Commit cf5f692

Browse files
anna-lachCopilot
andauthored
Update tool-bar.ts
Co-authored-by: Copilot <[email protected]>
1 parent d7086d7 commit cf5f692

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/components/tool-bar/src/tool-bar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,6 @@ export class ToolBar extends ScopedElementsMixin(LitElement) {
415415
const RESIZE_THRESHOLD = 5; // Pixel threshold that prevents flickering caused by slight measurement fluctuations
416416
const widthChanged = Math.abs(availableWidth - this.#lastAvailableWidth) > RESIZE_THRESHOLD;
417417

418-
419418
if (this.#needsMeasurement || !this.#totalWidth || !this.#widths.length || widthChanged) {
420419
this.#measureItems(wrapper);
421420
}

0 commit comments

Comments
 (0)