From 7938545a7c148feab901e8a2280b3b2ae531a8cb Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 12 Jul 2016 13:29:09 +0100 Subject: [PATCH] Use transition timing from OOUI theme config Depends-On: I00eaa2b815d7c76b6315a3993a9a7921ae503c00 Change-Id: Iddd99171137a7457d0c3084c396453575a1e7231 --- modules/ve-math/ve.ui.MWMathDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-math/ve.ui.MWMathDialog.js b/modules/ve-math/ve.ui.MWMathDialog.js index a2fc701..0d57bd2 100644 --- a/modules/ve-math/ve.ui.MWMathDialog.js +++ b/modules/ve-math/ve.ui.MWMathDialog.js @@ -295,7 +295,7 @@ ve.ui.MWMathDialog.prototype.onWindowManagerResize = function () { maxInputHeight = availableSpace - borderAndPadding; minRows = Math.floor( maxInputHeight / singleLineHeight ); dialog.input.setMinRows( minRows ); - }, 250 ); + }, OO.ui.theme.getDialogTransitionDuration() ); } ); };