소스 검색

Remove useless variable and line in OptionButton

NilsIrl 6 년 전
부모
커밋
abceb74b49
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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()) {