Rename window scroll (#1390)
* Rename WindowScroll to ScrollElement * Rename window-scroll.js to scroll-element.js * Update global order
This commit is contained in:
parent
5268c5d1bc
commit
94201ed44a
@ -29,8 +29,8 @@
|
|||||||
* PopupFactory
|
* PopupFactory
|
||||||
* PopupMenu
|
* PopupMenu
|
||||||
* QueryParser
|
* QueryParser
|
||||||
|
* ScrollElement
|
||||||
* TextScanner
|
* TextScanner
|
||||||
* WindowScroll
|
|
||||||
* api
|
* api
|
||||||
* dynamicLoader
|
* dynamicLoader
|
||||||
*/
|
*/
|
||||||
@ -90,7 +90,7 @@ class Display extends EventDispatcher {
|
|||||||
this._updateAdderButtonsPromise = Promise.resolve();
|
this._updateAdderButtonsPromise = Promise.resolve();
|
||||||
this._contentScrollElement = document.querySelector('#content-scroll');
|
this._contentScrollElement = document.querySelector('#content-scroll');
|
||||||
this._contentScrollBodyElement = document.querySelector('#content-body');
|
this._contentScrollBodyElement = document.querySelector('#content-body');
|
||||||
this._windowScroll = new WindowScroll(this._contentScrollElement);
|
this._windowScroll = new ScrollElement(this._contentScrollElement);
|
||||||
this._closeButton = document.querySelector('#close-button');
|
this._closeButton = document.querySelector('#close-button');
|
||||||
this._navigationPreviousButton = document.querySelector('#navigate-previous-button');
|
this._navigationPreviousButton = document.querySelector('#navigate-previous-button');
|
||||||
this._navigationNextButton = document.querySelector('#navigate-next-button');
|
this._navigationNextButton = document.querySelector('#navigate-next-button');
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class WindowScroll {
|
class ScrollElement {
|
||||||
constructor(node) {
|
constructor(node) {
|
||||||
this._node = node;
|
this._node = node;
|
||||||
this._animationRequestId = null;
|
this._animationRequestId = null;
|
@ -116,7 +116,7 @@
|
|||||||
<script src="/js/media/media-loader.js"></script>
|
<script src="/js/media/media-loader.js"></script>
|
||||||
<script src="/js/dom/panel-element.js"></script>
|
<script src="/js/dom/panel-element.js"></script>
|
||||||
<script src="/js/dom/popup-menu.js"></script>
|
<script src="/js/dom/popup-menu.js"></script>
|
||||||
<script src="/js/dom/window-scroll.js"></script>
|
<script src="/js/dom/scroll-element.js"></script>
|
||||||
<script src="/js/language/text-scanner.js"></script>
|
<script src="/js/language/text-scanner.js"></script>
|
||||||
<script src="/js/dom/html-template-collection.js"></script>
|
<script src="/js/dom/html-template-collection.js"></script>
|
||||||
<script src="/js/media/text-to-speech-audio.js"></script>
|
<script src="/js/media/text-to-speech-audio.js"></script>
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
<script src="/js/input/hotkey-util.js"></script>
|
<script src="/js/input/hotkey-util.js"></script>
|
||||||
<script src="/js/media/media-loader.js"></script>
|
<script src="/js/media/media-loader.js"></script>
|
||||||
<script src="/js/dom/popup-menu.js"></script>
|
<script src="/js/dom/popup-menu.js"></script>
|
||||||
<script src="/js/dom/window-scroll.js"></script>
|
<script src="/js/dom/scroll-element.js"></script>
|
||||||
<script src="/js/language/text-scanner.js"></script>
|
<script src="/js/language/text-scanner.js"></script>
|
||||||
<script src="/js/dom/html-template-collection.js"></script>
|
<script src="/js/dom/html-template-collection.js"></script>
|
||||||
<script src="/js/media/text-to-speech-audio.js"></script>
|
<script src="/js/media/text-to-speech-audio.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user