Skip to content

Commit

Permalink
Merge branch 'bug-font-stream-order' of https://github.com/devosoft/E…
Browse files Browse the repository at this point in the history
…mpirical into dejquerify
  • Loading branch information
mmore500 committed Apr 18, 2024
2 parents a7943c7 + 6aa2e3f commit 552c627
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/web/TextArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ int main()
{
doc << "<h1>Testing!</h1>";

out1_font.SetColor("green");
out2_font.SetColor("blue");
text_reflect << out1_font;
text_reflect2 << out2_font;

text_area.SetCallback([](const std::string & in){
text_area.SetText("Changed!");
});
Expand All @@ -46,4 +41,10 @@ int main()
}, "Update" )
<< "<br>" << text_reflect
<< "<br><br>" << text_reflect2;

out1_font.SetColor("green");
out2_font.SetColor("blue");
text_reflect << out1_font;
text_reflect2 << out2_font;

}

0 comments on commit 552c627

Please sign in to comment.