Cleanup
This commit is contained in:
parent
ff4aa6c848
commit
f7c088eca7
@ -175,7 +175,6 @@ impl UiModel {
|
|||||||
|
|
||||||
pub fn scroll(&mut self, count: i64) -> ModelRect {
|
pub fn scroll(&mut self, count: i64) -> ModelRect {
|
||||||
let (top, bot, left, right) = (self.top as i64, self.bot as i64, self.left, self.right);
|
let (top, bot, left, right) = (self.top as i64, self.bot as i64, self.left, self.right);
|
||||||
println!("{}, {}, {}, {}", top, bot, left, right);
|
|
||||||
|
|
||||||
if count > 0 {
|
if count > 0 {
|
||||||
for row in top..(bot - count + 1) {
|
for row in top..(bot - count + 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user