Skip to content

Commit

Permalink
window buttons: fix reversing buttons order
Browse files Browse the repository at this point in the history
fix #184
  • Loading branch information
jonian committed May 20, 2020
1 parent e95666b commit d523b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [email protected]/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ var WindowButtons = class WindowButtons extends PanelExtension {
_onLayoutChange() {
const buttons = this.settings.get('window-buttons-layout')

if (this.side == 'right' && this.position == 'left') {
if (this.side != this.position) {
buttons.reverse()
}

Expand Down

0 comments on commit d523b3d

Please sign in to comment.