Selaa lähdekoodia

Bring back the old throttling for redrawing handles.

panr 5 vuotta sitten
vanhempi
commit
0e9ccc0185
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/ckeditor5-widget/src/widgetresize.js

+ 1 - 1
packages/ckeditor5-widget/src/widgetresize.js

@@ -87,7 +87,7 @@ export default class WidgetResize extends Plugin {
 			}
 		};
 
-		const redrawFocusedResizerThrottled = throttle( redrawFocusedResizer, 50 );
+		const redrawFocusedResizerThrottled = throttle( redrawFocusedResizer, 200 );
 
 		// Redraws occurring upon a change of visible resizer must not be throttled, as it is crucial for the initial
 		// render. Without it the resizer frame would be misaligned with resizing host for a fraction of second.