Remove commented line

Co-authored-by: Rob Loach <robloach@gmail.com>
This commit is contained in:
Dodzey 2024-09-10 19:50:07 +01:00 committed by GitHub
parent 99988b2c57
commit cb90adcbcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -420,7 +420,6 @@ nk_do_button_text_image(nk_flags *state,
icon.x = content.x + 2 * style->padding.x;
label_icon_spacing = (icon.x - bounds.x) * 0.5f;
/*label_icon_spacing = (icon.x - content.x) * 1.f;*/
content.x = icon.x + icon.w + label_icon_spacing;
content.w -= icon.w + label_icon_spacing;
content.w = NK_MAX(content.w, 0);