Skip to content

Conversation

@William-Baker
Copy link

Theme.cpp
Modified themes to import fonts from a file rather than a resource, and tied font references in widgets to the theme rather than to sans-bold.
Widget.cpp:
Un-focus widgets when clicking outside them while being in the same parent.
Added childContainedAlready bool so only top child in the widget is focused

Fixed build errors from Travis Cl:
Error: found trailing spaces in the following files:
    src/scrollbar.cpp:59:            
    src/scrollbar.cpp:61:        
Error: found the following coding style problems:
    src/widget.cpp:111:        else if (contained && prevContained){
Error: braces should occur on the same line as the if/while/.. statement. Found issues in the following files: 
    src/scrollbar.cpp:31:    {
    src/scrollbar.cpp:47:    {
    src/scrollbar.cpp:68:    {
    src/scrollbar.cpp:77:    {
    src/scrollbar.cpp:88:    {
    src/scrollbar.cpp:121:    {
    src/scrollbar.cpp:152:    {
The command "resources/check-style.sh" exited with 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants