Skip to content

Commit

Permalink
🐛 Fix misplacement of the quick settings view in one-dark-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Apr 7, 2015
1 parent a0e20f8 commit 40e6f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minimap-element.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ class MinimapElement extends HTMLElement
@quickSettingsSubscription = @quickSettingsElement.onDidDestroy =>
@quickSettingsElement = null

@quickSettingsElement.attach()
{top, left, right} = @canvas.getBoundingClientRect()
@quickSettingsElement.style.top = top + 'px'
@quickSettingsElement.attach()

if @displayMinimapOnLeft
@quickSettingsElement.style.left = (right) + 'px'
Expand Down

0 comments on commit 40e6f05

Please sign in to comment.