mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
14e1de1009
On initialization, the image model has an initial scalable that has the given currentDimensions from Parsoid; these are usually correct. However, in cases where the wiki settings do not fit the user settings and the images appear smaller or bigger in practice than the values of the wiki-defaults, the initial hash will store the wrong values. We will only know what the real values for the comparison will be after we get them from the API and the calculation; only at that point we can update the image model initial hash. This is important so that later the dialog can properly understand whether to enable the "apply" button if a user changed an image to custom size and then back to default. Change-Id: If17b50cc4a39993f98a20a3fec3ddf5d8cb400b3 |
||
---|---|---|
.. | ||
ve.ui.MWBetaWelcomeDialog.js | ||
ve.ui.MWCancelConfirmDialog.js | ||
ve.ui.MWCitationDialog.js | ||
ve.ui.MWCommandHelpDialog.js | ||
ve.ui.MWMediaDialog.js | ||
ve.ui.MWMetaDialog.js | ||
ve.ui.MWReferenceDialog.js | ||
ve.ui.MWReferencesListDialog.js | ||
ve.ui.MWRequiredParamBlankConfirmDialog.js | ||
ve.ui.MWSaveDialog.js | ||
ve.ui.MWTemplateDialog.js | ||
ve.ui.MWTransclusionDialog.js | ||
ve.ui.MWWikitextSwitchConfirmDialog.js |