mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-02 08:53:38 -04:00
added class property that got missing
This commit is contained in:
parent
714c6ddf9b
commit
c7ca878c69
1 changed files with 3 additions and 1 deletions
|
@ -451,6 +451,8 @@ module.exports = class SpellView extends View
|
||||||
currentCallIndex ?= callNumber - 1
|
currentCallIndex ?= callNumber - 1
|
||||||
#console.log "got call index", currentCallIndex, "for time", @thang.world.age, "out of", states.length
|
#console.log "got call index", currentCallIndex, "for time", @thang.world.age, "out of", states.length
|
||||||
|
|
||||||
|
@decoratedGutter = @decoratedGutter || {}
|
||||||
|
|
||||||
# TODO: don't redo the markers if they haven't actually changed
|
# TODO: don't redo the markers if they haven't actually changed
|
||||||
for markerRange in (@markerRanges ?= [])
|
for markerRange in (@markerRanges ?= [])
|
||||||
markerRange.start.detach()
|
markerRange.start.detach()
|
||||||
|
@ -490,7 +492,7 @@ module.exports = class SpellView extends View
|
||||||
markerRange.id = @aceSession.addMarker markerRange, clazz, markerType
|
markerRange.id = @aceSession.addMarker markerRange, clazz, markerType
|
||||||
@markerRanges.push markerRange
|
@markerRanges.push markerRange
|
||||||
if executedRows[start.row] and @decoratedGutter[start.row] isnt clazz
|
if executedRows[start.row] and @decoratedGutter[start.row] isnt clazz
|
||||||
@aceSession.removeGutterDecoration start.row, @decoratedGutter[start.row] if @decoratedGutter isnt ''
|
@aceSession.removeGutterDecoration start.row, @decoratedGutter[start.row] if @decoratedGutter[start.row] isnt ''
|
||||||
@aceSession.addGutterDecoration start.row, clazz
|
@aceSession.addGutterDecoration start.row, clazz
|
||||||
@decoratedGutter[start.row] = clazz
|
@decoratedGutter[start.row] = clazz
|
||||||
@debugView.setVariableStates {} unless gotVariableStates
|
@debugView.setVariableStates {} unless gotVariableStates
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue