mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix pageUp/Down tests by using a real element
This commit is contained in:
committed by
Antonio Scandurra
parent
f2070ef880
commit
24e03ee4e6
@@ -103,6 +103,10 @@ class TextEditorElement extends HTMLElement {
|
||||
return this.emitter.on('did-detach', callback)
|
||||
}
|
||||
|
||||
measureDimensions () {
|
||||
this.getComponent().measureDimensions()
|
||||
}
|
||||
|
||||
setWidth (width) {
|
||||
this.style.width = this.getComponent().getGutterContainerWidth() + width + 'px'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user