mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-02 10:32:07 -04:00
Compare commits
2 Commits
2b7fd36322
...
51f6f37925
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
51f6f37925 | ||
|
|
9651a4ca98 |
8
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
8
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -7,7 +7,7 @@ body:
|
||||
attributes:
|
||||
value: |
|
||||
## DankMaterialShell Bug Report
|
||||
Limit your report to one issue per submission unless closely related
|
||||
Limit your report to one issue per submission unless similarly related
|
||||
- type: dropdown
|
||||
id: compositor
|
||||
attributes:
|
||||
@@ -53,9 +53,9 @@ body:
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: original_installation_method_different
|
||||
id: original_installation_method
|
||||
attributes:
|
||||
label: Was your original Installation method different?
|
||||
label: Was this your original Installation method?
|
||||
options:
|
||||
- "Yes"
|
||||
- No (specify below)
|
||||
@@ -73,7 +73,7 @@ body:
|
||||
id: dms_doctor
|
||||
attributes:
|
||||
label: dms doctor -vC
|
||||
description: Output of `dms doctor -vC` command — paste between the lines below to keep it collapsed in the issue
|
||||
description: Output of `dms doctor -vC` command — paste between the details tags below to keep it collapsed in the issue
|
||||
placeholder: Paste the output of `dms doctor -vC` here
|
||||
value: |
|
||||
<details>
|
||||
|
||||
@@ -231,13 +231,16 @@ Singleton {
|
||||
const compositor = CompositorService.compositor;
|
||||
const profilesDir = getProfilesDir();
|
||||
const profileFile = profilesDir + "/" + profileId + getProfileExtension();
|
||||
const isActive = SettingsData.getActiveDisplayProfile(compositor) === profileId;
|
||||
|
||||
profilesLoading = true;
|
||||
Proc.runCommand("delete-profile", ["rm", "-f", profileFile], (output, exitCode) => {
|
||||
profilesLoading = false;
|
||||
SettingsData.removeDisplayProfile(compositor, profileId);
|
||||
if (SettingsData.getActiveDisplayProfile(compositor) === profileId)
|
||||
if (isActive) {
|
||||
SettingsData.setActiveDisplayProfile(compositor, "");
|
||||
backendWriteOutputsConfig(allOutputs);
|
||||
}
|
||||
const updated = JSON.parse(JSON.stringify(validatedProfiles));
|
||||
delete updated[profileId];
|
||||
validatedProfiles = updated;
|
||||
|
||||
@@ -236,7 +236,14 @@ Item {
|
||||
|
||||
parent: Overlay.overlay
|
||||
width: root.popupWidth === -1 ? undefined : (root.popupWidth > 0 ? root.popupWidth : (dropdown.width + root.popupWidthOffset))
|
||||
height: Math.min(root.maxPopupHeight, (root.enableFuzzySearch ? 54 : 0) + Math.min(filteredOptions.length, 10) * 36 + 16)
|
||||
height: {
|
||||
let h = root.enableFuzzySearch ? 54 : 0;
|
||||
if (root.options.length === 0 && root.emptyText !== "")
|
||||
h += 32;
|
||||
else
|
||||
h += Math.min(filteredOptions.length, 10) * 36;
|
||||
return Math.min(root.maxPopupHeight, h + 16);
|
||||
}
|
||||
padding: 0
|
||||
modal: true
|
||||
dim: false
|
||||
|
||||
Reference in New Issue
Block a user