Fix whitespace to match furrtek/portapack-havoc.

This commit is contained in:
Jared Boone 2017-08-09 17:08:30 -07:00
parent b147aee30a
commit f726a54f25
4 changed files with 4 additions and 2 deletions

View File

@ -147,8 +147,10 @@ void NavigationView::free_view() {
void NavigationView::update_view() {
const auto new_view = view_stack.back().get();
add_child(new_view);
new_view->set_parent_rect({ {0, 0}, size() });
focus();
set_dirty();

View File

@ -22,7 +22,6 @@
#include "portapack_persistent_memory.hpp"
#include "portapack.hpp"
#include "hal.h"
#include "utility.hpp"

View File

@ -329,7 +329,7 @@ void Text::paint(Painter& painter) {
/* Button ****************************************************************/
Button::Button(
Button::Button(
Rect parent_rect,
std::string text
) : Widget { parent_rect },

View File

@ -340,3 +340,4 @@ type_name = '::cpld::xilinx::XC2C64A::verify_blocks_t'
# HeaderGen(header_includes, namespaces, type_name, variable_name).to_file(args.header_file_path)
DataGen(data_includes, namespaces, type_name, variable_name, verify).to_file(args.data_file_path)