Skip to content

Commit 81c5124

Browse files
committed
last quirks fixes for 069 release
1 parent 1e9d869 commit 81c5124

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ofApp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void ofApp::setup(){
134134
string absPath2 = fileToRead2.getAbsolutePath();
135135

136136
// TO CHECK IN DIFFERENT MONITORS - FIX FONT SIZE FOR DIFFERENTS SCREEN RESOLUTION/PIXEl DEPTH
137-
io.Fonts->AddFontFromFileTTF(absPath2.c_str(),suggestedFontSize+(4*retinaScale),&font_config); // code editor font
137+
io.Fonts->AddFontFromFileTTF(absPath2.c_str(),suggestedFontSize+2+(6*retinaScale),&font_config); // code editor font
138138
io.Fonts->AddFontFromFileTTF(absPath1.c_str(),suggestedFontSize+(4*retinaScale),&font_config); // GUI font
139139

140140
// merge in icons from Font Awesome
@@ -2483,7 +2483,7 @@ void ofApp::createObjectFromFile(ofFile file,bool temp,int px, int py){
24832483
ofVec2f objPos;
24842484

24852485
if(px == -1 && py == -1){
2486-
glm::vec3 tempPos = visualProgramming->canvas.screenToWorld(glm::vec3(visualProgramming->canvas.getMovingPoint().x,visualProgramming->canvas.getMovingPoint().y,0));
2486+
glm::vec3 tempPos = visualProgramming->nextObjectPosition;
24872487
objPos.set(tempPos.x,tempPos.y);
24882488
}else{
24892489
objPos.set(px,py);

0 commit comments

Comments
 (0)