This commit is contained in:
Jordan Bates 2013-04-26 15:23:11 -07:00
commit 894165f88b
8 changed files with 38 additions and 31 deletions

View File

@ -1,6 +1,6 @@
seaweedchan: seaweedchan:
- Fix emoji and favicon previews not updating on change. - Fix emoji and favicon previews not updating on change.
- Fix issue with draggong thread watcher - Fix issue with dragging thread watcher
- Fix some settings not importing when coming from Mayhem's v3 - Fix some settings not importing when coming from Mayhem's v3
MayhemYDG: MayhemYDG:
@ -8,6 +8,9 @@ MayhemYDG:
zixaphir: zixaphir:
- Fix preview with favicons and emoji - Fix preview with favicons and emoji
- Fix NaN error on Thread Updater Interval
- Draggable UI can no longer overlap the Header.
-- Setting the header to Autohide also increases its z-index to overlap other UI
### 1.1.1 - 2013-04-26 ### 1.1.1 - 2013-04-26
zixaphir: zixaphir:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -54,7 +54,7 @@ UI = do ->
menu = @makeMenu() menu = @makeMenu()
currentMenu = menu currentMenu = menu
lastToggledButton = button lastToggledButton = button
@entries.sort (first, second) -> @entries.sort (first, second) ->
first.order - second.order first.order - second.order
@ -222,12 +222,18 @@ UI = do ->
dy: e.clientY - rect.top dy: e.clientY - rect.top
height: screenHeight - rect.height height: screenHeight - rect.height
width: screenWidth - rect.width width: screenWidth - rect.width
topBorder: if Conf["Bottom Header"] then 0 else Header.bar.getBoundingClientRect().height
bottomBorder: if Conf["Bottom Header"] then Header.bar.getBoundingClientRect().height else 0
screenHeight: screenHeight screenHeight: screenHeight
screenWidth: screenWidth screenWidth: screenWidth
isTouching: isTouching isTouching: isTouching
} }
[o.topBorder, o.bottomBorder] = if Conf['Header auto-hide']
[0, 0]
else if Conf['Bottom Header']
[0, Header.bar.getBoundingClientRect().height]
else
[Header.bar.getBoundingClientRect().height, 0]
if isTouching if isTouching
o.identifier = e.identifier o.identifier = e.identifier
o.move = touchmove.bind o o.move = touchmove.bind o

View File

@ -87,6 +87,9 @@ a[href="javascript:;"] {
#navlinks, #updater, #thread-stats { #navlinks, #updater, #thread-stats {
z-index: 40; z-index: 40;
} }
.fixed #header-bar.autohide {
z-index: 35;
}
#qr { #qr {
z-index: 30; z-index: 30;
} }

View File

@ -57,7 +57,7 @@ PSAHiding =
sync: (hiddenPSAs) -> sync: (hiddenPSAs) ->
psa = $.id 'globalMessage' psa = $.id 'globalMessage'
psa.hidden = PSAHiding.btn.hidden = if PSAHiding.trim(psa) in hiddenPSAs psa.hidden = PSAHiding.btn.hidden = if hiddenPSAs.contains PSAHiding.trim(psa)
true true
else else
false false

View File

@ -64,7 +64,7 @@ Quotify =
a.setAttribute 'data-boardid', boardID a.setAttribute 'data-boardid', boardID
a.setAttribute 'data-postid', postID a.setAttribute 'data-postid', postID
unless quoteID in @quotes unless @quotes.contains quoteID
@quotes.push quoteID @quotes.push quoteID
unless a unless a