Renaming hisotry icon to timeline, trying to fix button colors in flatpak.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6b70e6df9e
commit
50317a367f
9 changed files with 14 additions and 8 deletions
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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() + '.'
|
||||
|
||||
|
|
Before Width: | Height: | Size: 675 B After Width: | Height: | Size: 675 B |
Loading…
Add table
Add a link
Reference in a new issue