From ae5727c9f38f58c376667b84eaa89502dcbcdb5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20B=C3=BCrki?= Date: Thu, 13 Aug 2020 12:34:37 +0200 Subject: [PATCH] Small UI fix --- src/BlobFinder.cpp | 3 --- src/ofApp.cpp | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/BlobFinder.cpp b/src/BlobFinder.cpp index c4c0112..3dd9eba 100644 --- a/src/BlobFinder.cpp +++ b/src/BlobFinder.cpp @@ -52,9 +52,6 @@ void BlobFinder::initGUI(ofxGui &gui){ blobGuiGroup->add(eyeInset.set("EyeInset", .8, 0, 1)); panel->loadFromFile("tracking.xml"); - - bool visible = false; - panel->setVisible(visible); } void BlobFinder::allocate(int &value){ diff --git a/src/ofApp.cpp b/src/ofApp.cpp index fefd534..402d78b 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -216,6 +216,8 @@ void ofApp::setupViewports(){ tracker.panel->setPosition(ofGetWidth() - MENU_WIDTH, 20); #ifdef BLOB + post->setWidth(MENU_WIDTH / 2); + post->setPosition(ofGetWidth() - MENU_WIDTH / 2, 20); device->setWidth(MENU_WIDTH / 2); device->setPosition(ofGetWidth() - MENU_WIDTH / 2, ofGetHeight() / 2); #endif -- GitLab