Fix QR dragging without fixed header
This commit is contained in:
parent
9845a4c4dc
commit
dd302fade4
@ -5,6 +5,9 @@ detharonil
|
||||
MayhemYDG:
|
||||
- Fix whitespaces not being preserved in code tags in /g/.
|
||||
|
||||
seaweedchan:
|
||||
- Fix QR not being able to drag to the top with fixed header disabled
|
||||
|
||||
zixaphir:
|
||||
- Fix custom CSS
|
||||
|
||||
|
||||
@ -2454,7 +2454,7 @@
|
||||
screenWidth: screenWidth,
|
||||
isTouching: isTouching
|
||||
};
|
||||
_ref = Conf['Header auto-hide'] ? [0, 0] : Conf['Bottom Header'] ? [0, Header.bar.getBoundingClientRect().height] : [Header.bar.getBoundingClientRect().height, 0], o.topBorder = _ref[0], o.bottomBorder = _ref[1];
|
||||
_ref = Conf['Header auto-hide'] || !Conf['Fixed Header'] ? [0, 0] : Conf['Bottom Header'] ? [0, Header.bar.getBoundingClientRect().height] : [Header.bar.getBoundingClientRect().height, 0], o.topBorder = _ref[0], o.bottomBorder = _ref[1];
|
||||
if (isTouching) {
|
||||
o.identifier = e.identifier;
|
||||
o.move = touchmove.bind(o);
|
||||
|
||||
@ -2450,7 +2450,7 @@
|
||||
screenWidth: screenWidth,
|
||||
isTouching: isTouching
|
||||
};
|
||||
_ref = Conf['Header auto-hide'] ? [0, 0] : Conf['Bottom Header'] ? [0, Header.bar.getBoundingClientRect().height] : [Header.bar.getBoundingClientRect().height, 0], o.topBorder = _ref[0], o.bottomBorder = _ref[1];
|
||||
_ref = Conf['Header auto-hide'] || !Conf['Fixed Header'] ? [0, 0] : Conf['Bottom Header'] ? [0, Header.bar.getBoundingClientRect().height] : [Header.bar.getBoundingClientRect().height, 0], o.topBorder = _ref[0], o.bottomBorder = _ref[1];
|
||||
if (isTouching) {
|
||||
o.identifier = e.identifier;
|
||||
o.move = touchmove.bind(o);
|
||||
|
||||
@ -2453,7 +2453,7 @@
|
||||
screenWidth: screenWidth,
|
||||
isTouching: isTouching
|
||||
};
|
||||
_ref = Conf['Header auto-hide'] ? [0, 0] : Conf['Bottom Header'] ? [0, Header.bar.getBoundingClientRect().height] : [Header.bar.getBoundingClientRect().height, 0], o.topBorder = _ref[0], o.bottomBorder = _ref[1];
|
||||
_ref = Conf['Header auto-hide'] || !Conf['Fixed Header'] ? [0, 0] : Conf['Bottom Header'] ? [0, Header.bar.getBoundingClientRect().height] : [Header.bar.getBoundingClientRect().height, 0], o.topBorder = _ref[0], o.bottomBorder = _ref[1];
|
||||
if (isTouching) {
|
||||
o.identifier = e.identifier;
|
||||
o.move = touchmove.bind(o);
|
||||
|
||||
@ -226,7 +226,7 @@ UI = do ->
|
||||
isTouching: isTouching
|
||||
}
|
||||
|
||||
[o.topBorder, o.bottomBorder] = if Conf['Header auto-hide']
|
||||
[o.topBorder, o.bottomBorder] = if Conf['Header auto-hide'] or not Conf['Fixed Header']
|
||||
[0, 0]
|
||||
else if Conf['Bottom Header']
|
||||
[0, Header.bar.getBoundingClientRect().height]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user