Use transition timing from OOUI theme config
Depends-On: I00eaa2b815d7c76b6315a3993a9a7921ae503c00 Change-Id: Iddd99171137a7457d0c3084c396453575a1e7231
This commit is contained in:
parent
2aea08e1b0
commit
7938545a7c
|
@ -295,7 +295,7 @@ ve.ui.MWMathDialog.prototype.onWindowManagerResize = function () {
|
||||||
maxInputHeight = availableSpace - borderAndPadding;
|
maxInputHeight = availableSpace - borderAndPadding;
|
||||||
minRows = Math.floor( maxInputHeight / singleLineHeight );
|
minRows = Math.floor( maxInputHeight / singleLineHeight );
|
||||||
dialog.input.setMinRows( minRows );
|
dialog.input.setMinRows( minRows );
|
||||||
}, 250 );
|
}, OO.ui.theme.getDialogTransitionDuration() );
|
||||||
} );
|
} );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue