mirror of https://github.com/axmolengine/axmol.git
fix scale9error error
This commit is contained in:
parent
9025b010ba
commit
9e6657d6b2
|
@ -1099,7 +1099,7 @@ namespace ui {
|
||||||
|
|
||||||
topHeight = capInsets.origin.y - offsets.y;
|
topHeight = capInsets.origin.y - offsets.y;
|
||||||
centerHeight = capInsets.size.height;
|
centerHeight = capInsets.size.height;
|
||||||
bottomHeight = originalSize.height - (capInsets.origin.x + centerHeight) - offsets.w;
|
bottomHeight = originalSize.height - (capInsets.origin.y + centerHeight) - offsets.w;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue