@@ -208,6 +208,13 @@ void SetupLabelConfigUI::createPage1()
208208 opacityLine->setRotation (90 );
209209 opacityLine->setScaleY (0 .9f );
210210
211+ auto rotationTitle = CCLabelBMFont::create (" Rotation" , " bigFont.fnt" );
212+ rotationTitle->setScale (0 .5f );
213+
214+ auto rotationLine = CCSprite::createWithSpriteFrameName (" edit_vLine_001.png" );
215+ rotationLine->setRotation (90 );
216+ rotationLine->setScaleY (0 .9f );
217+
211218 nameInp = TextInput::create (145 , " Display Name" , " bigFont.fnt" );
212219 nameInp->setScale (0 .7f );
213220 nameInp->setCommonFilter (CommonFilter::Any);
@@ -260,6 +267,8 @@ void SetupLabelConfigUI::createPage1()
260267 pages[0 ]->addChildAtPosition (scaleLine, Anchor::Left, ccp (20 + infoBG->getScaledContentWidth () / 2 , 18 - 13 ));
261268 pages[0 ]->addChildAtPosition (opacityTitle, Anchor::Left, ccp (20 + infoBG->getScaledContentWidth () / 2 , -38 ));
262269 pages[0 ]->addChildAtPosition (opacityLine, Anchor::Left, ccp (20 + infoBG->getScaledContentWidth () / 2 , -38 - 13 ));
270+ pages[0 ]->addChildAtPosition (rotationTitle, Anchor::Left, ccp (20 + infoBG->getScaledContentWidth () / 2 , -38 - 56 ));
271+ pages[0 ]->addChildAtPosition (rotationLine, Anchor::Left, ccp (20 + infoBG->getScaledContentWidth () / 2 , -38 - 13 - 56 ));
263272
264273 pages[0 ]->addChildAtPosition (generalBG, Anchor::Center, ccp (12 .5f , 0 ));
265274 pages[0 ]->addChildAtPosition (fontBtn, Anchor::Center, ccp (12 .5f , -65 ));
@@ -710,6 +719,9 @@ void SetupLabelConfigUI::updateImagePreview()
710719 imagePreview = nullptr ;
711720 #endif
712721
722+ if (imagePreview && imagePreview->getUserObject (" geode.texture-loader/fallback" ))
723+ imagePreview = nullptr ;
724+
713725 if (!imagePreview)
714726 {
715727 imagePreview = CCSprite::create (" sog.png" _spr);
0 commit comments