Skip to content

Commit

Permalink
Fix typo on TextEditorElement ::getWidth/::getHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
as-cii committed Sep 28, 2015
1 parent 658a7b7 commit 3ad9bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/text-editor-element.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,14 @@ class TextEditorElement extends HTMLElement
@component.measureDimensions()

getWidth: ->
@style.offsetWidth - @component.getGutterWidth()
@offsetWidth - @component.getGutterWidth()

setHeight: (height) ->
@style.height = height + "px"
@component.measureDimensions()

getHeight: ->
@style.offsetHeight
@offsetHeight

stopEventPropagation = (commandListeners) ->
newCommandListeners = {}
Expand Down

0 comments on commit 3ad9bb3

Please sign in to comment.