@@ -394,8 +394,6 @@ MouseArea {
394394 Flow {
395395 id: indicator
396396 flow: Flow .LeftToRight
397- anchors .top : parent .top
398- anchors .horizontalCenter : parent .horizontalCenter
399397 spacing: PlasmaCore .Units .smallSpacing
400398 Repeater {
401399
@@ -550,9 +548,9 @@ MouseArea {
550548 }
551549
552550 states: [
553- State {// safety case - use bottom when not overriding
551+ State {// safety case - use bottom when not override
554552 name: " floating-fallback"
555- when: (PlasmaCore .Types .Floating && ! plasmoid .configuration .indicatorOverride )
553+ when: (plasmoid . location === PlasmaCore .Types .Floating && ! plasmoid .configuration .indicatorOverride )
556554
557555 AnchorChanges {
558556 target: indicator
@@ -564,10 +562,10 @@ MouseArea {
564562 width: undefined
565563 height: plasmoid .configuration .indicatorSize
566564 }
567- }
565+ },
568566 State {
569567 name: " floating-bottom"
570- when: (PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
568+ when: (plasmoid . location === PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
571569
572570 AnchorChanges {
573571 target: indicator
@@ -582,7 +580,7 @@ MouseArea {
582580 },
583581 State {
584582 name: " floating-left"
585- when: (PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
583+ when: (plasmoid . location === PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
586584
587585 AnchorChanges {
588586 target: indicator
@@ -597,7 +595,7 @@ MouseArea {
597595 },
598596 State {
599597 name: " floating-right"
600- when: (PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
598+ when: (plasmoid . location === PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
601599
602600 AnchorChanges {
603601 target: indicator
@@ -612,7 +610,7 @@ MouseArea {
612610 },
613611 State {
614612 name: " floating-top"
615- when: (PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
613+ when: (plasmoid . location === PlasmaCore .Types .Floating && plasmoid .configuration .indicatorLocation === 0 )
616614
617615 AnchorChanges {
618616 target: indicator
0 commit comments