okay new ux idea
This commit is contained in:
@@ -3,7 +3,7 @@ package sprites
|
||||
import (
|
||||
"image"
|
||||
|
||||
"git.vezzani.net/ben/games/common/window/v1"
|
||||
"git.vezzani.net/ben/games/common/ux/v1"
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
@@ -75,8 +75,8 @@ func (s *Sprite) Image(ops imageOptions) image.Image {
|
||||
|
||||
func (s *Sprite) Draw(screen *ebiten.Image, options ...ImageOption) {
|
||||
ops := imageOptions{
|
||||
scaleX: window.Scale,
|
||||
scaleY: window.Scale,
|
||||
scaleX: ux.Scale,
|
||||
scaleY: ux.Scale,
|
||||
}
|
||||
|
||||
for _, o := range options {
|
||||
|
||||
Reference in New Issue
Block a user