mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
PNG -> TGA
Former-commit-id: 394d3af24b5f1a125c40197a09f47867cc6fc566 Former-commit-id: 5428b1d2d7370b5a912851d5f5aa9f6b036f64f5
This commit is contained in:
@@ -121,10 +121,8 @@ constructor(val UI: UICanvas) {
|
||||
|
||||
UI.render(gc, UIGraphicInstance)
|
||||
|
||||
ingameGraphics.drawImage(UIDrawnCanvas.getScaledCopy(scale),
|
||||
posX.toFloat() - (UI.width / 2f * scale.minus(1)),
|
||||
posY.toFloat() - (UI.height / 2f * scale.minus(1)),
|
||||
Color(1f, 1f, 1f, opacity)
|
||||
ingameGraphics.drawImage(
|
||||
UIDrawnCanvas, posX.toFloat(), posY.toFloat(), Color(1f, 1f, 1f, opacity)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user