Kaynağa Gözat

Removed unnecessary line of code from DropDownList.

Lasse Öörni 13 yıl önce
ebeveyn
işleme
1ed8f1fe94
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      Engine/UI/DropDownList.cpp

+ 0 - 1
Engine/UI/DropDownList.cpp

@@ -133,7 +133,6 @@ void DropDownList::OnShowPopup()
     const IntRect& border = popup_->GetLayoutBorder();
     popup_->SetSize(resizePopup_ ? GetWidth() : contentSize.x_ + border.left_ + border.right_, contentSize.y_ + border.top_ + 
         border.bottom_);
-    listView_->SetViewPosition(IntVector2::ZERO);
     
     // Check if popup fits below the button. If not, show above instead
     bool showAbove = false;