From 48c6ed2c3b2bde4a2f1ee619bb5ca583044e1f6c Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Thu, 7 Dec 2023 01:45:20 +1030 Subject: [PATCH] Enlarge border.png from 10x10 to 16x16 Web had weird UV rounding errors that ruined the frag shader variation of the panel. --- scripts/managers/ThemeManager.gd | 4 ++-- theme/border.png | Bin 215 -> 4858 bytes theme/border_imagetexture.tres | 14 +++++++------- theme/border_imagetexture_black.tres | 14 +++++++------- theme/border_stylebox.tres | 2 +- theme/border_stylebox_black.tres | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/scripts/managers/ThemeManager.gd b/scripts/managers/ThemeManager.gd index a80700f..38a2ba5 100644 --- a/scripts/managers/ThemeManager.gd +++ b/scripts/managers/ThemeManager.gd @@ -7,8 +7,8 @@ var theme := preload('res://theme/menu_theme.tres') var border_image: Image = preload('res://theme/border.png') var border_texture := preload('res://theme/border_imagetexture.tres') var border_stylebox := preload('res://theme/border_stylebox.tres') -const r1 := Rect2(4, 3, 2, 4) -const r2 := Rect2(3, 4, 4, 2) +const r1 := Rect2(4, 3, 8, 10) +const r2 := Rect2(3, 4, 10, 8) func update_menu_color() -> void: var c := Color(menu_r5/31.0, menu_g5/31.0, menu_b5/31.0) diff --git a/theme/border.png b/theme/border.png index 0f4548b1854225f782def17713fa45938d2053c9..042758371687a1d26b7c75879918d2462767db20 100644 GIT binary patch literal 4858 zcmeHKc~leU77tJXdG57{K9Ff#0Vg}zBp{Hm2vKAcR0xxq35;YT8Azb|6hUi|x}hu; z6%oa~^|{ssQNa3KK~PWxEn*ei+G@oOd0zq|p7xw~Jm>X4k~7K7{qFtUdw=(S_k8nB z$PE9%c4O=)6w2Vh0C6bzA7;92t--JJvo3@}v20BXk0L`61Ekey6oe9o$W$#3;YLD1 zp%`yI&Wq8tx(-@;JGv^y^0lvA;1GPR>2%CH(b2|@mrJJBvJ3KdX1VyUn^TnG`NPJ8 zT^&z@yY3Y4n6NW--JI!Xw?(+|Nb0GWH`lHg-fwqPAA9}4UeeYyG=5d}*jJ+?L;=GNfJyr5NYF|U{Ra+lq9$`8Hlrn>?a_imqQZpBWz)q` zozZR&;H)su8iWA9Zkxl zoGDpuC0%bFxobN=abLQqE;#top8UB{hayW7_J?NWCEIUUv3tWP!_e=WeS9j4GyTQi z=DN;49errduKFE^4lgSi%;sgQYwk1{bELe+^S{hhCMP;ImL?vFJ=XEy&=HRDTs5+F zkTbJAVd~?C>BpZO&THyuc-TDg@Xd8QYZV2a==B@wx*@yToDQsN^(^(9J)e?0M3GgL zGv?Nl`y&sIopd-q-N7yWDBZH5`b7RcC?dA?syx^2Zn%T*HkhAb&m2~_v0-9U!^t&o z%Hf}HbnE-sGGw7muPXDVM`o85lkO7`x`{XO0k2C>EK7uWv}8ukZVQ2VGvcaE&OSVwz)>taiS{)#(w` zvU*GMzaiI_9TAg#mWH?;Y>(5mjp7giq4OLE)Gx_!UJ+q4Dn7<(-T?1kttzio1=dKW zzmj1SKsRQ zS6N=k&M$cGk(3!VC1wBBsy*2J%CO2=5w$L|bI11Rnp^fn%-^$c=DRZ?v9jo2gqMbo z-@kl9z_2Yv%UG^I3@?qCROR#Ci_gct`#D!e&GXsEauC>uEVcgeo=sQA?WQ?P|1*&1 zvW}7#>v(^h^=F23MN?AQDyPy^%a@ze-A>;9p1ZhU=GBKzaN1{?N77e3T)F*`Mc&l% z>YOh(=z@N)9cee`T zflbrs;^|C*KtN}(=qwftG+=$InnaAST0hPN(TyR-^{9@}l7vPLnJ^K#CYcmbsbC#? zAD>DqmG;7`^*t;AKIle7OJ~v;bd`$U*FsN9QUFL#K!0hW4+mqM9*XNV$vPC5q~L0D zTwe$b?X}k?>y+knFqDofaTQS21Fy`FT>1w}LwYSt6vPuMt=S5Y{gEa~C_a$&QEa9a zb2@zk0p`89A8EhO-K-3>q*9?+gC?883lxi}CjUZAgA$m~e9K^>JPyLgU?yL{ggNdg z3zlOX1m?=+TmegtGWY^UAE-dJoqTm>AC;6>wpU$58+XgbNFB1_JX? zhJwlE2-ql&^?{hFBS2Ro%Dz#VpfCWX;K}(Y#&w5TTs{ZpDEK(c=V443L*2OwjKNiK zxGXaih6?>OIu!!SNvM!`oUT>Jn-@%k3%x@EMN~GeJ8-ikM2V0JU?8Ff6Y6B+2i0&w zg@=)diA^St!Q}JYSquT6!)5UJACw|-ogQ?eh{~b~1T-ecykaVg5F`VLMNEAP0L*fb zi_lkxBcw(buF)t(R8s)GD^jqNFoZ;|oCPPyvi{c$l2c=VE+LcjEn8||w%o)8WXS!)(yieML{wG>I%nE%* z46y5#fzbsfA-#7L_Rt0*_&Yy6<@h^YKv2JvPvW6=`wwbPL}2X$v|yDw4OqtjWb;q#%*3H zKxjh-N+mY;2U!obX1ZOkJqtvmNl6sxt5KQGx!Xi)LlMOJjf*HzmZC8c>zXZNa#RF)Q$wPWldm*SkjGHRnWr7rl%rQrcf z#w#~l7EB>Xu2L3sLC^oKV=t|tlK!h8{R`(h<;=z~s({ysWHs@f-JjCNhEHBl4t!Ap MB{RhPeBze;7i6g`hX4Qo delta 159 zcmeyRdYw_RGr-TCmrII^fq{Y7)59eQNQ2m19Be?c*XaD-$)-Z`ob2-KN(}dnyq-;t z71Brx^mK6yk+|GD!IA5LfdEsw^S`zG_SmvsTGCQ6DK+K@(}uqV6W*?3^!(L2iQz(e zhD^JPVyDU$(@g2x(HnGQ>;AIMEBU+e{L#rZ4V9g*D_@m;5TAQhXL3fuFOZ!Kp00i_ I>zopr0G_=%wEzGB diff --git a/theme/border_imagetexture.tres b/theme/border_imagetexture.tres index 9998176..351b7fc 100644 --- a/theme/border_imagetexture.tres +++ b/theme/border_imagetexture.tres @@ -2,15 +2,15 @@ [sub_resource type="Image" id=1] data = { -"data": PoolByteArray( 31, 0, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 0, 128, 255, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 0, 255, 0, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 0, 255, 0, 255, 0, 255, 0, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 0, 255, 0, 255, 0, 255, 0, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 0, 255, 0, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 0, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 0 ), -"format": "LumAlpha8", -"height": 10, +"data": PoolByteArray( 0, 0, 0, 0, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 0, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 0, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 0 ), +"format": "RGBA8", +"height": 16, "mipmaps": false, -"width": 10 +"width": 16 } [resource] -flags = 2 -flags = 2 +flags = 0 +flags = 0 image = SubResource( 1 ) -size = Vector2( 10, 10 ) +size = Vector2( 16, 16 ) diff --git a/theme/border_imagetexture_black.tres b/theme/border_imagetexture_black.tres index 9998176..351b7fc 100644 --- a/theme/border_imagetexture_black.tres +++ b/theme/border_imagetexture_black.tres @@ -2,15 +2,15 @@ [sub_resource type="Image" id=1] data = { -"data": PoolByteArray( 31, 0, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 0, 128, 255, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 0, 255, 0, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 0, 255, 0, 255, 0, 255, 0, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 0, 255, 0, 255, 0, 255, 0, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 0, 255, 0, 255, 128, 255, 128, 255, 255, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 255, 128, 255, 128, 0, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 255, 128, 0 ), -"format": "LumAlpha8", -"height": 10, +"data": PoolByteArray( 0, 0, 0, 0, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 0, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 0, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 128, 128, 128, 255, 0, 0, 0, 0 ), +"format": "RGBA8", +"height": 16, "mipmaps": false, -"width": 10 +"width": 16 } [resource] -flags = 2 -flags = 2 +flags = 0 +flags = 0 image = SubResource( 1 ) -size = Vector2( 10, 10 ) +size = Vector2( 16, 16 ) diff --git a/theme/border_stylebox.tres b/theme/border_stylebox.tres index bcca497..c4f33d6 100644 --- a/theme/border_stylebox.tres +++ b/theme/border_stylebox.tres @@ -4,7 +4,7 @@ [resource] texture = ExtResource( 1 ) -region_rect = Rect2( 0, 0, 10, 10 ) +region_rect = Rect2( 0, 0, 16, 16 ) margin_left = 4.0 margin_right = 4.0 margin_top = 4.0 diff --git a/theme/border_stylebox_black.tres b/theme/border_stylebox_black.tres index de84fd3..1105fe1 100644 --- a/theme/border_stylebox_black.tres +++ b/theme/border_stylebox_black.tres @@ -4,7 +4,7 @@ [resource] texture = ExtResource( 1 ) -region_rect = Rect2( 0, 0, 10, 10 ) +region_rect = Rect2( 0, 0, 16, 16 ) margin_left = 4.0 margin_right = 4.0 margin_top = 4.0