Skip to content

Commit f1e894c

Browse files
committed
better working font size
1 parent 55a9e9c commit f1e894c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ofxVisualProgramming::ofxVisualProgramming(){
5454
engine = new pdsp::Engine();
5555

5656
font = new ofTrueTypeFont();
57-
fontSize = 12;
57+
fontSize = 8;
5858
isRetina = false;
5959
scaleFactor = 1;
6060

@@ -107,11 +107,11 @@ void ofxVisualProgramming::setRetina(bool retina){
107107

108108
if(isRetina){
109109
scaleFactor = 2;
110-
fontSize = 14;
110+
fontSize = 16;
111111
canvas.setScale(2);
112112
}else{
113113
scaleFactor = 1;
114-
fontSize = 7;
114+
fontSize = 8;
115115
}
116116
}
117117

@@ -354,7 +354,7 @@ void ofxVisualProgramming::draw(){
354354

355355
// Draw Bottom Bar
356356
ofSetColor(0,0,0,60);
357-
ofDrawRectangle(0,ofGetHeight() - (18*scaleFactor),ofGetWidth(),(18*scaleFactor));
357+
ofDrawRectangle(0,ofGetHeight() - (20*scaleFactor),ofGetWidth(),(20*scaleFactor));
358358

359359
ofDisableAlphaBlending();
360360

0 commit comments

Comments
 (0)