Merge branch 'noctalia-dev:main' into sidebar-toggle-settings
This commit is contained in:
commit
f303f305af
3 changed files with 5 additions and 4 deletions
|
|
@ -39,6 +39,7 @@ NIconButton {
|
||||||
|| BarWidgetRegistry.widgetMetadata["CustomButton"].middleClickExec
|
|| BarWidgetRegistry.widgetMetadata["CustomButton"].middleClickExec
|
||||||
readonly property bool hasExec: (userLeftClickExec || userRightClickExec || userMiddleClickExec)
|
readonly property bool hasExec: (userLeftClickExec || userRightClickExec || userMiddleClickExec)
|
||||||
|
|
||||||
|
sizeRatio: 0.8
|
||||||
icon: userIcon
|
icon: userIcon
|
||||||
tooltipText: {
|
tooltipText: {
|
||||||
if (!hasExec) {
|
if (!hasExec) {
|
||||||
|
|
|
||||||
|
|
@ -189,7 +189,7 @@ NPanel {
|
||||||
}, {
|
}, {
|
||||||
"id": SettingsPanel.Tab.Hooks,
|
"id": SettingsPanel.Tab.Hooks,
|
||||||
"label": "Hooks",
|
"label": "Hooks",
|
||||||
"icon": "link",
|
"icon": "cable",
|
||||||
"source": hooksTab
|
"source": hooksTab
|
||||||
}, {
|
}, {
|
||||||
"id": SettingsPanel.Tab.About,
|
"id": SettingsPanel.Tab.About,
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@ Singleton {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
// Public properties
|
// Public properties
|
||||||
property string baseVersion: "v2.5.0"
|
property string baseVersion: "2.5.0"
|
||||||
property bool isRelease: false
|
property bool isDevelopment: true
|
||||||
|
|
||||||
property string currentVersion: isRelease ? baseVersion : baseVersion + "-dev"
|
property string currentVersion: `v${!isDevelopment ? baseVersion : baseVersion + "-dev"}`
|
||||||
|
|
||||||
// Internal helpers
|
// Internal helpers
|
||||||
function getVersion() {
|
function getVersion() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue