Removed the unsupported `pointerOffset` for `Ui/Alignment`
authorAlexander Ebert <ebert@woltlab.com>
Thu, 20 Feb 2020 16:50:58 +0000 (17:50 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 20 Feb 2020 16:50:58 +0000 (17:50 +0100)
The position of the pointer element is determined by CSS classes that also open up the ability to add relativ positioning.

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Alignment.js

index 8e1509e228dcb5f5cda810af51bb188edd69a240..627ecdc5a77637d1cc64ebd9fec9e60e4ceb3a2e 100644 (file)
@@ -28,9 +28,6 @@ define(['Core', 'Language', 'Dom/Traverse', 'Dom/Util'], function(Core, Language
                                // align the pointer element, expects .elementPointer as a direct child of given element
                                pointer: false,
                                
-                               // offset from/left side, ignored for center alignment
-                               pointerOffset: 4,
-                               
                                // use static pointer positions, expects two items: class to move it to the bottom and the second to move it to the right
                                pointerClassNames: [],