From ccf107a65e566b1372907ae95e099f3dfa0a076e Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Mon, 22 Sep 2025 11:41:40 -0400 Subject: pke: static ui border width 2->1 --- src/static-ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/static-ui.cpp b/src/static-ui.cpp index dc5ddc9..517b4fd 100644 --- a/src/static-ui.cpp +++ b/src/static-ui.cpp @@ -407,8 +407,8 @@ void pke_ui_calc_px(pk_arr_t &buffer, pk_arr_t< tmp.pos_scale = glm::scale(tmp.pos_scale, scale); tmp.color_border = box->color_border; tmp.color_background = box->color_background; - tmp.px_scale.x = (2.0 / (float)Extent.width); - tmp.px_scale.y = (2.0 / (float)Extent.height); + tmp.px_scale.x = (1.0 / (float)Extent.width); + tmp.px_scale.y = (1.0 / (float)Extent.height); tmp.depth = (float)box->layer; tmp.texture_layer = -1; if (PK_HAS_FLAG(box->type, PKE_UI_BOX_TYPE_BUTTON_IMAGE)) { -- cgit v1.2.3