mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-13 07:48:37 +00:00
b86be90b06
This patch mainly reintroduces the option to click on bars and move the pointers with it. To do this, 'ghost' pointers are introduced to show what would happen when bars are clicked. The pointers moved differ depending on where the user clicks on a bar. Pointers are still not allowed to change positions, so in some cases booth pointers move with one click. See the task description. The patch also includes some renaming and also refactoring of the click handling in general. Furthermore bar hover mechanics are handled by the RevisionListView class now. Moving both pointers is not possible when it would push one of them of limits. Bug: T172092, T173566 Change-Id: I32a8256f7667e03081324d54accdf03a17454faf |
||
---|---|---|
.. | ||
QUnit.revisionSlider.testOrSkip.js | ||
RevisionSlider.DiffPage.test.js | ||
RevisionSlider.HelpDialog.test.js | ||
RevisionSlider.Pointer.test.js | ||
RevisionSlider.PointerView.test.js | ||
RevisionSlider.Revision.test.js | ||
RevisionSlider.RevisionList.test.js | ||
RevisionSlider.RevisionListView.test.js | ||
RevisionSlider.Slider.test.js | ||
RevisionSlider.SliderView.test.js |