@ -441,7 +441,7 @@ bool Panel_onKey(Panel* this, int key) {
}
// ensure selection within bounds
if(this->selected<0){
if(this->selected<0||size==0){
this->selected=0;
this->needsRedraw=true;
}elseif(this->selected>=size){
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.