mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-06 12:02:24 +00:00
autofmt
This commit is contained in:
@@ -167,7 +167,7 @@ ColumnLayout {
|
|||||||
to: 1
|
to: 1
|
||||||
value: brightnessMonitor ? brightnessMonitor.brightness : 0.5
|
value: brightnessMonitor ? brightnessMonitor.brightness : 0.5
|
||||||
stepSize: 0.01
|
stepSize: 0.01
|
||||||
onMoved: (value) => {
|
onMoved: value => {
|
||||||
if (brightnessMonitor.method === "internal") {
|
if (brightnessMonitor.method === "internal") {
|
||||||
brightnessMonitor.setBrightness(value)
|
brightnessMonitor.setBrightness(value)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -153,9 +153,9 @@ Singleton {
|
|||||||
|
|
||||||
function seekRelative(offset) {
|
function seekRelative(offset) {
|
||||||
if (currentPlayer && currentPlayer.canSeek) {
|
if (currentPlayer && currentPlayer.canSeek) {
|
||||||
var newPosition = currentPlayer.position + offset;
|
var newPosition = currentPlayer.position + offset
|
||||||
currentPlayer.position = newPosition;
|
currentPlayer.position = newPosition
|
||||||
currentPosition = newPosition;
|
currentPosition = newPosition
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user