From 2083c6984a695969737ec10df52b7be1a3cabb23 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 25 Aug 2021 00:42:45 +0200 Subject: [PATCH] Update textbox_extended_demo.c --- examples/text_box_selection/textbox_extended_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/text_box_selection/textbox_extended_demo.c b/examples/text_box_selection/textbox_extended_demo.c index f742ce8..a4a45a9 100644 --- a/examples/text_box_selection/textbox_extended_demo.c +++ b/examples/text_box_selection/textbox_extended_demo.c @@ -213,7 +213,7 @@ int main(int argc, char **argv) GuiSetStyle(TEXTBOX, TEXT_ALIGNMENT, GUI_TEXT_ALIGN_CENTER); // Draw hexadecimal values viewer - DrawTextRecEx(guiFont, hex, (Rectangle){ 20, 95, 760, 205 }, 20, 1, true, BLACK, startIdx*3, len*3, colorFG, colorBG); + DrawTextBoxedSelectable(guiFont, hex, (Rectangle){ 20, 95, 760, 205 }, 20, 1, true, BLACK, startIdx*3, len*3, colorFG, colorBG); // Draw right-mouse-button-click menu and logic //---------------------------------------------------------------------------------------