diff --git a/app/initialize.coffee b/app/initialize.coffee index 9cb2e2954..fdbb936cc 100644 --- a/app/initialize.coffee +++ b/app/initialize.coffee @@ -102,7 +102,7 @@ watchForErrors = -> #msg += "\nStack: #{stack}" if stack = error?.stack unless webkit?.messageHandlers # Don't show these notys on iPad noty text: message, layout: 'topCenter', type: 'error', killer: false, timeout: 5000, dismissQueue: true, maxVisible: 3, callback: {onClose: -> --currentErrors} - Backbone.Mediator.publish 'application:error', message: msg # For iOS app + Backbone.Mediator.publish 'application:error', message: "Line #{line} of #{url}:\n#{msg}" # For iOS app window.addIPadSubscription = (channel) -> window.iPadSubscriptions[channel] = true diff --git a/app/styles/play/level.sass b/app/styles/play/level.sass index ecfeb842d..cad311dad 100644 --- a/app/styles/play/level.sass +++ b/app/styles/play/level.sass @@ -235,9 +235,6 @@ body.ipad #level-view #code-area, .footer, #thang-hud display: none - #goals-view - left: 40px - #level-chat-view bottom: 40px diff --git a/app/styles/play/level/level-dialogue-view.sass b/app/styles/play/level/level-dialogue-view.sass index 218397764..e7b0f58b4 100644 --- a/app/styles/play/level/level-dialogue-view.sass +++ b/app/styles/play/level/level-dialogue-view.sass @@ -19,8 +19,9 @@ background-size: 100% auto position: absolute bottom: -296px + 40px - //left: -webkit-calc(27.5% - 417px / 2) + left: 300px left: -webkit-calc(55% - 417px) + left: calc(55% - 417px) // Bounce in @include transition(1s cubic-bezier(.17,.89,.42,1.36)) z-index: 2 @@ -89,3 +90,13 @@ button margin-left: 10px + +body.ipad #level-dialogue-view + left: auto + right: 0 + + &.active + bottom: -60px + + .hud-hint + visibility: hidden