From df162080c305da8e6bfc31f11c222da5ab704521 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Sun, 23 Nov 2014 19:40:50 -0800 Subject: [PATCH] Totally hid code stepper toolbar for now, since it's proving difficult to make room for it in the new design. --- app/lib/surface/LayerAdapter.coffee | 3 ++- app/views/play/level/tome/SpellView.coffee | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/lib/surface/LayerAdapter.coffee b/app/lib/surface/LayerAdapter.coffee index 52247b571..4689ae926 100644 --- a/app/lib/surface/LayerAdapter.coffee +++ b/app/lib/surface/LayerAdapter.coffee @@ -95,7 +95,8 @@ module.exports = LayerAdapter = class LayerAdapter extends CocoClass if aLank = a.lank if aThang = aLank.thang aPos = aThang.pos - if aThang.health < 0 and aThang.pos.z <= aThang.depth / 2 # Nice for not being knee deep in the dead, but not nice for ogres flying behind trees + if aThang.health < 0 and aThang.pos.z <= aThang.depth / 2 + # Nice for not being knee deep in the dead, just not nice for ogres flying behind trees when exploded --az if bLank = b.lank if bThang = bLank.thang diff --git a/app/views/play/level/tome/SpellView.coffee b/app/views/play/level/tome/SpellView.coffee index d68589fd7..dc6c984d5 100644 --- a/app/views/play/level/tome/SpellView.coffee +++ b/app/views/play/level/tome/SpellView.coffee @@ -800,6 +800,7 @@ module.exports = class SpellView extends CocoView @decoratedGutter[row] = '' lastExecuted = _.last executed showToolbarView = executed.length and @spellThang.castAether.metrics.statementsExecuted > 3 and not LevelOptions[@options.level.get('slug')]?.hidesCodeToolbar # Hide for a while + showToolbarView = false # TODO: fix toolbar styling in new design to have some space for it if showToolbarView statementIndex = Math.max 0, lastExecuted.length - 1