Forráskód Böngészése

Remove useless variable and line in OptionButton

NilsIrl 6 éve
szülő
commit
abceb74b49
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      scene/gui/option_button.cpp

+ 0 - 1
scene/gui/option_button.cpp

@@ -51,7 +51,6 @@ void OptionButton::_notification(int p_what) {
 
 			RID ci = get_canvas_item();
 			Ref<Texture> arrow = Control::get_icon("arrow");
-			Ref<StyleBox> normal = get_stylebox("normal");
 			Color clr = Color(1, 1, 1);
 			if (get_constant("modulate_arrow")) {
 				switch (get_draw_mode()) {