Fix energy canvas scaling problems on iOS
This commit is contained in:
parent
0bdeb10eb8
commit
578dd377b1
@ -88,7 +88,8 @@ Item {
|
||||
id: canvas
|
||||
anchors.fill: parent
|
||||
|
||||
renderTarget: Canvas.FramebufferObject
|
||||
// Breaks scaling on iOS
|
||||
// renderTarget: Canvas.FramebufferObject
|
||||
renderStrategy: Canvas.Cooperative
|
||||
|
||||
onPaint: {
|
||||
@ -489,7 +490,7 @@ Item {
|
||||
|
||||
PieSlice {
|
||||
color: energyManager.currentPowerStorage == 0
|
||||
? Style.foregroundColor
|
||||
? Style.lime
|
||||
: root.toStorage > 0
|
||||
? Style.purple
|
||||
: Style.orange
|
||||
|
||||
Reference in New Issue
Block a user