equal
deleted
inserted
replaced
4011 int visible_height = VisibleHeightInPixels(); |
4011 int visible_height = VisibleHeightInPixels(); |
4012 if (aDy > 0) // text moves down; iBandTop decreases |
4012 if (aDy > 0) // text moves down; iBandTop decreases |
4013 { |
4013 { |
4014 if (aTopNoLimitBorder) |
4014 if (aTopNoLimitBorder) |
4015 { |
4015 { |
4016 iBandTop = Max(0 - iText->LayoutHeight(),desired_bandtop); |
4016 iBandTop = desired_bandtop; |
4017 } |
4017 } |
4018 else |
4018 else |
4019 iBandTop = Max(0,desired_bandtop);//Disallow text scrolled beyond top border |
4019 iBandTop = Max(0,desired_bandtop);//Disallow text scrolled beyond top border |
4020 |
4020 |
4021 pixels_scrolled = old_bandtop - iBandTop; |
4021 pixels_scrolled = old_bandtop - iBandTop; |