haxeui / haxeui-heaps

MIT License
31 stars 12 forks source link

All tiles must be of the same texture #11

Closed kevinresol closed 4 years ago

kevinresol commented 4 years ago

With kenney theme, make a message box:

Toolkit.messageBox('Test Message Box');

Then hover on the "OK" button:

../haxeui-heaps/haxe/ui/backend/AssetsImpl.hx:35: All tiles must be of the same texture
All tiles must be of the same texture
stack
Called from haxe.$NativeStackTrace.callStack (/Users/kevin/haxe/versions/4.1.1/std/hl/_std/haxe/NativeStackTrace.hx line 25)
Called from haxe._CallStack.$CallStack_Impl_.callStack (/Users/kevin/haxe/versions/4.1.1/std/haxe/CallStack.hx line 52)
Called from haxe._CallStack.$CallStack_Impl_.exceptionStack (/Users/kevin/haxe/versions/4.1.1/std/haxe/CallStack.hx line 64)
Called from hxd.$System.reportError (hxd/System.hl.hx line 156)
Called from hxd.$System.~runMainLoop.0 (hxd/System.hl.hx line 127)
Called from h2d.Graphics.beginTileFill (h2d/Graphics.hx line 403)
Called from haxe.ui.backend.heaps.$StyleHelper.paintTile (haxe/ui/backend/heaps/StyleHelper.hx line 179)
Called from haxe.ui.backend.heaps.$StyleHelper.~apply.0 (haxe/ui/backend/heaps/StyleHelper.hx line 101)
Called from haxe.ui.ToolkitAssets.~getImage.0 (/Users/kevin/haxe/versions/4.1.1/std/hl/_std/Date.hx line 0)
Called from haxe.ui.util.CallbackMap.invokeAndRemove (haxe/ui/util/CallbackMap.hx line 66)
Called from haxe.ui.ToolkitAssets._onImageLoaded (haxe/ui/ToolkitAssets.hx line 113)
Called from haxe.ui.backend.AssetsImpl.~getImageFromHaxeResource.0 (haxe/ui/backend/AssetsImpl.hx line 43)
Called from haxe.ui.backend.AssetsImpl.imageFromBytes (haxe/ui/backend/AssetsImpl.hx line 62)
Called from haxe.ui.backend.AssetsImpl.getImageFromHaxeResource (haxe/ui/backend/AssetsImpl.hx line 42)
Called from haxe.ui.ToolkitAssets.~getImage.1 (haxe/ui/ToolkitAssets.hx line 92)
Called from haxe.ui.backend.AssetsImpl.getImageInternal (haxe/ui/backend/AssetsImpl.hx line 36)
Called from haxe.ui.ToolkitAssets.getImage (haxe/ui/ToolkitAssets.hx line 86)
Called from haxe.ui.backend.heaps.$StyleHelper.apply (haxe/ui/backend/heaps/StyleHelper.hx line 65)
Called from haxe.ui.backend.ComponentImpl.handleSize (haxe/ui/backend/ComponentImpl.hx line 48)
Called from haxe.ui.core.Component.updateComponentDisplay (haxe/ui/core/Component.hx line 1472)
Called from haxe.ui.validation.ValidationManager.process (haxe/ui/validation/ValidationManager.hx line 130)
Called from haxe.ui.util.$Timer.~delay.1 (haxe/ui/util/Timer.hx line 10)
Called from haxe.ui.backend.$TimerImpl.update (haxe/ui/backend/TimerImpl.hx line 12)
Called from haxe.ui.backend.$BackendImpl.update (haxe/ui/backend/BackendImpl.hx line 7)
Called from haxe.$MainLoop.tick (/Users/kevin/haxe/versions/4.1.1/std/haxe/MainLoop.hx line 174)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 134)