Remove useless variable and line in OptionButton

This commit is contained in:
NilsIrl 2019-07-29 17:41:28 +02:00
parent a19c15d105
commit abceb74b49

View file

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