We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2fb3e1 commit ce66ffdCopy full SHA for ce66ffd
1 file changed
VolumeGrid/HUD/VolumeBlocksView.swift
@@ -70,6 +70,10 @@ final class VolumeBlocksView: NSView {
70
71
func update(style: HUDStyle, fillFraction: CGFloat) {
72
self.style = style
73
+
74
+ CATransaction.begin()
75
+ CATransaction.setDisableActions(true)
76
77
for fillLayer in fillLayers {
78
fillLayer.fillColor = style.blockFillColor.cgColor
79
}
@@ -92,5 +96,7 @@ final class VolumeBlocksView: NSView {
92
96
fillLayer.frame = frame
93
97
94
98
99
100
+ CATransaction.commit()
95
101
102
0 commit comments