Render themes: scale 'dy' rendering instruction, #67
This commit is contained in:
parent
fed2cd05e4
commit
1cfae3a47f
@ -761,7 +761,7 @@ public class XmlThemeBuilder extends DefaultHandler {
|
||||
|
||||
else if ("dy".equals(name))
|
||||
// NB: minus..
|
||||
b.dy = -Float.parseFloat(value);
|
||||
b.dy = -Float.parseFloat(value) * CanvasAdapter.dpi / 160;
|
||||
|
||||
else if ("symbol".equals(name))
|
||||
b.texture = getAtlasRegion(value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user