Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
clsty
2025-11-05 19:19:14 +08:00
4 changed files with 8 additions and 6 deletions
@@ -377,6 +377,7 @@ Singleton {
property bool showLabel: false
property real opacity: 0.3
property real contentRegionOpacity: 0.8
property int selectionPadding: 5
}
property JsonObject rect: JsonObject {
property bool showAimLines: true
@@ -87,7 +87,7 @@ Scope {
}
onExited: (exitCode, exitStatus) => {
if (exitCode !== 0) {
console.warn("fprintd-list command exited with error:", exitCode, exitStatus);
// console.warn("[LockContext] fprintd-list command exited with error:", exitCode, exitStatus);
root.fingerprintsConfigured = false;
}
}
@@ -121,10 +121,11 @@ PanelWindow {
return (root.targetedRegionX >= 0 && root.targetedRegionY >= 0)
}
function setRegionToTargeted() {
root.regionX = root.targetedRegionX;
root.regionY = root.targetedRegionY;
root.regionWidth = root.targetedRegionWidth;
root.regionHeight = root.targetedRegionHeight;
const padding = Config.options.regionSelector.targetRegions.selectionPadding; // Make borders not cut off n stuff
root.regionX = root.targetedRegionX - padding;
root.regionY = root.targetedRegionY - padding;
root.regionWidth = root.targetedRegionWidth + padding * 2;
root.regionHeight = root.targetedRegionHeight + padding * 2;
}
function updateTargetedRegion(x, y) {
@@ -108,7 +108,7 @@ Singleton {
}
}
onExited: (exitCode, exitStatus) => {
console.log("[KeyringStorage] Keyring data fetch process exited with code:", exitCode);
// console.log("[KeyringStorage] Keyring data fetch process exited with code:", exitCode);
if (exitCode === 1) {
console.error("[KeyringStorage] Entry not found, initializing.");
root.keyringData = {};