Changes between Initial Version and Version 2 of Ticket #4987


Ignore:
Timestamp:
Jan 18, 2018, 5:46:37 PM (6 years ago)
Author:
fpre_O_O_O_O_O_O
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4987

    • Property Owner set to fpre_O_O_O_O_O_O
    • Property Status newassigned
  • Ticket #4987 – Description

    initial v2  
    11When playerlist receives update due to changed playerlist when player joins or leaves, the selected player from the list, if one is selected, should be kept consistend after the list is updated, so it gets reselected in updatePlayerList() in lobby.js, if it is still in the list.\\
    22\\
    3 The problem is that we currently loose with it our current scroll view due to UpdateAutoScroll() from list.cpp with the selection change.\\
     3The problem is that we currently loose with it our current scroll view due to UpdateAutoScroll() from CList.cpp with the selection change.\\
    44\\
    55So to keep the selected player consistent on playerlist update, while also keeping the scroll view, we need an unscrolled selection attribute in the gui list, that just sets the selected item in the list without autoscrolling to it.\\