mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
bf98af7bcb
The logic in ve.ui.LinkInspector.onUpdate was very flawed. This patch makes it so: * When something happens, if there's an inspector open then so long as the selection hasn't changed the inspector is updated (such as the window being resized) * If the selection does change, the inspector is closed * If there's no inspector open, we try to show a menu of available inspectors Change-Id: I859123a5fcd36bc2afb2e578f81f30a944c8583a |
||
---|---|---|
.. | ||
inspectors | ||
styles | ||
tools | ||
ve.ui.Context.js | ||
ve.ui.Frame.js | ||
ve.ui.Inspector.js | ||
ve.ui.InspectorFactory.js | ||
ve.ui.js | ||
ve.ui.Menu.js | ||
ve.ui.Tool.js | ||
ve.ui.Toolbar.js | ||
ve.ui.ToolFactory.js |