mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 07:22:50 -05:00
fix trailing whitespace
This commit is contained in:
@@ -10,7 +10,7 @@ import qs.Services
|
|||||||
Singleton {
|
Singleton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
readonly property bool hasOutputBackend: WlrOutputService.wlrOutputAvailable
|
readonly property bool hasOutputBackend: WlrOutputService.wlrOutputAvailable
|
||||||
readonly property var wlrOutputs: WlrOutputService.outputs
|
readonly property var wlrOutputs: WlrOutputService.outputs
|
||||||
property var outputs: ({})
|
property var outputs: ({})
|
||||||
property var savedOutputs: ({})
|
property var savedOutputs: ({})
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ Column {
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
text: I18n.tr("Mirror Display")
|
text: I18n.tr("Mirror Display")
|
||||||
addHorizontalPadding: true
|
addHorizontalPadding: true
|
||||||
|
|
||||||
property var otherOutputs: {
|
property var otherOutputs: {
|
||||||
const list = [I18n.tr("None")];
|
const list = [I18n.tr("None")];
|
||||||
for (const name in DisplayConfigState.outputs) {
|
for (const name in DisplayConfigState.outputs) {
|
||||||
@@ -92,7 +92,7 @@ Column {
|
|||||||
const val = pending !== undefined ? pending : (root.outputData.mirror || "");
|
const val = pending !== undefined ? pending : (root.outputData.mirror || "");
|
||||||
return val === "" ? I18n.tr("None") : val;
|
return val === "" ? I18n.tr("None") : val;
|
||||||
}
|
}
|
||||||
|
|
||||||
onValueChanged: value => {
|
onValueChanged: value => {
|
||||||
const realVal = value === I18n.tr("None") ? "" : value;
|
const realVal = value === I18n.tr("None") ? "" : value;
|
||||||
DisplayConfigState.setPendingChange(root.outputName, "mirror", realVal);
|
DisplayConfigState.setPendingChange(root.outputName, "mirror", realVal);
|
||||||
|
|||||||
Reference in New Issue
Block a user