Commit Graph

11 Commits

Author SHA1 Message Date
takase1121 77d24daa63 Revert "fix number of parameters passed to self:move_towards"
Apparently the LSP intellisense is wrong on this one, this actually
causes an infinite loop
2021-07-09 11:57:16 +08:00
takase1121 050f131261 fix number of parameters passed to self:move_towards
self:move_towards(self) causes self to be passed twice, ignoring rate
2021-07-06 17:28:38 +08:00
Francesco Abbate f9115751b4 Minor simplification of animation rate adjustment 2021-03-20 17:00:43 +01:00
Francesco Abbate 26ec9e5820 Compute animation rate only if needed 2021-03-18 16:20:21 +01:00
liquidev 844ecd1f26
Make animation speed independent of config.fps, add config.animation_rate to fine-tune animation speed (#93)
* animation rate config field

* @franko's math magic to make it look more correct
2021-03-10 16:35:37 +01:00
Francesco Abbate 2353076b37 Add config.transitions to enable/disable transitions 2021-02-21 11:08:25 +01:00
rxi bc4bf3d384 Added core.set_active_view(); removed `focusable` boolean from View 2020-05-19 14:55:46 +01:00
rxi 9fc185af2f Added scroll bounds
Resolves #9
Resolves #6
Resolves #3
2020-05-02 00:21:04 +01:00
rxi 885ed5f860 Improved handling of zero-sized locked nodes on RootView 2020-05-01 16:17:07 +01:00
rxi 4d39dcaded Changed `View:get_content_offset()` to round resultant values
Avoids some issues that occur with fractional offsets, most noticable
on rectangles drawn on DocView jittering by 1-pixel when scrolling
2020-04-30 14:43:25 +01:00
rxi d8c4bfa6ba Initial commit 2019-12-28 11:17:56 +00:00