q&d hack for ui opacity control using a shader

This commit is contained in:
minjaesong
2020-09-12 11:24:32 +09:00
parent 9b079d0467
commit f9883f2516
6 changed files with 61 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ class UIQuickslotPie : UICanvas() {
val slotX = slotCentrePoint.x.toInt()
val slotY = slotCentrePoint.y.toInt()
drawColor.a = handler.opacity * UIQuickslotBar.DISPLAY_OPACITY
drawColor.a = UIQuickslotBar.DISPLAY_OPACITY
batch.color = drawColor
image.draw(batch, slotX, slotY)