[gnome] Bump extension versions ... I should probably get these out of here

This commit is contained in:
2025-06-19 09:27:02 -04:00
parent b69326ba18
commit 80d725a18a
26 changed files with 312 additions and 473 deletions

View File

@ -1,5 +1,5 @@
/* sensorProxy.js
* Copyright (C) 2024 kosmospredanie, shyzus
* Copyright (C) 2025 kosmospredanie, shyzus
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -64,6 +64,17 @@ export class SensorProxy {
this._proxy = null;
}
get_accelerometer_orientation() {
if (this._enabled) {
let variant = this._proxy.get_cached_property('AccelerometerOrientation');
let orientation = variant.unpack();
variant.unref();
return orientation;
}
return undefined;
}
properties_changed(proxy, changed, _invalidated) {
if (!this._enabled) return;
let properties = changed.deep_unpack();