Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

cslist: fix to highlight separator correctly on dragging

Changeset 0900ec1c00fe

Parent dede5017f011

by Yuki KODAMA

Changes to one file · Browse files at 0900ec1c00fe Showing diff from parent dede5017f011 Diff from another changeset...

 
506
507
508
509
510
511
512
 
 
 
513
514
515
 
506
507
508
 
 
 
 
509
510
511
512
513
514
@@ -506,10 +506,9 @@
    def get_sep_by_y(self, y):   pos, start, end = self.get_item_pos(y, detail=True) - sep_pos = self.trans_to_show(end) - if self.has_limit() and len(self.curitems) - 1 <= end: - sep_pos += 1 - return self.get_sep(sep_pos) + if self.has_limit() and self.limit - 1 < end: + end -= len(self.curitems) - self.limit - 1 + return self.get_sep(end)     def update_seps(self):   """ Update visibility of all separators """