Skip to content

Commit 9bd9cdc

Browse files
committed
change scale and update order for ready
1 parent 5bde84a commit 9bd9cdc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

xset/synccontrols/x_scale.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func (s *ActiveTargetsForDeletion) Less(i, j int) bool {
126126
lReady, _ := s.checkReadyFunc(l.Object)
127127
rReady, _ := s.checkReadyFunc(r.Object)
128128
if lReady != rReady {
129-
return lReady
129+
return !lReady
130130
}
131131

132132
if l.OpsPriority != nil && r.OpsPriority != nil {

xset/synccontrols/x_update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func (o *orderByDefault) Less(i, j int) bool {
288288
lReady, _ := o.checkReadyFunc(l.Object)
289289
rReady, _ := o.checkReadyFunc(r.Object)
290290
if lReady != rReady {
291-
return lReady
291+
return !lReady
292292
}
293293

294294
if l.DecorationChanged != r.DecorationChanged {

0 commit comments

Comments
 (0)