Explorar o código

Copy offsets in Font.clone()

Grégoire André %!s(int64=3) %!d(string=hai) anos
pai
achega
4a3b12b66c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      h2d/Font.hx

+ 2 - 0
h2d/Font.hx

@@ -258,6 +258,8 @@ class Font {
 		f.charset = charset;
 		f.defaultChar = defaultChar.clone();
 		f.type = type;
+		f.offsetX = offsetX;
+		f.offsetY = offsetY;
 		for( g in glyphs.keys() ) {
 			var c = glyphs.get(g);
 			var c2 = c.clone();