mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Totally hid code stepper toolbar for now, since it's proving difficult to make room for it in the new design.
This commit is contained in:
parent
c203ff15a2
commit
df162080c3
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue