Renaming hisotry icon to timeline, trying to fix button colors in flatpak.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2021-08-21 21:41:56 +02:00
parent 6b70e6df9e
commit 50317a367f
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
9 changed files with 14 additions and 8 deletions

View file

@ -93,7 +93,7 @@ MenuBar {
height: visible ? implicitHeight : 0
icon.name: modelData
icon.source: './icons/' + modelData + '.svg'
icon.color: sysPalette.windowText
icon.color: sysPalette.buttonText
onTriggered: {
var newObj = Objects.createNewRegisteredObject(modelData)
history.addToHistory(new HistoryLib.CreateNewObject(newObj.name, modelData, newObj.export()))
@ -120,7 +120,7 @@ MenuBar {
checkable: true
checked: Helper.getSettingBool("reset_redo_stack")
onTriggered: Helper.setSettingBool("reset_redo_stack", checked)
icon.name: 'history'
icon.name: 'timeline'
}
}

View file

@ -50,7 +50,7 @@ Column {
icon.source: '../icons/' + modelData + '.svg'
icon.width: 24
icon.height: 24
icon.color: sysPalette.windowText
icon.color: sysPalette.buttonText
onClicked: {
var newObj = Objects.createNewRegisteredObject(modelData)

View file

@ -129,6 +129,7 @@ ListView {
anchors.topMargin: 5
icon.name: 'position'
icon.source: '../icons/position.svg'
icon.color: sysPalette.buttonText
property bool hasXProp: Objects.types[objType].properties().hasOwnProperty('x')
property bool hasYProp: Objects.types[objType].properties().hasOwnProperty('y')
visible: hasXProp || hasYProp
@ -156,6 +157,7 @@ ListView {
anchors.topMargin: 5
icon.name: 'delete'
icon.source: '../icons/delete.svg'
icon.color: sysPalette.buttonText
ToolTip.visible: hovered
ToolTip.text: 'Delete ' + Objects.types[objType].displayType() + '.'