fix: propagate configured frame rate to widgets
This commit is contained in:
parent
87addc97de
commit
03cdcd260e
3 changed files with 3 additions and 4 deletions
|
@ -323,8 +323,7 @@ pub const Editor = struct {
|
|||
|
||||
fn init(self: *Self, allocator: Allocator, n: Plane) void {
|
||||
const logger = log.logger("editor");
|
||||
var frame_rate = tp.env.get().num("frame-rate");
|
||||
if (frame_rate == 0) frame_rate = 60;
|
||||
const frame_rate = tp.env.get().num("frame-rate");
|
||||
const indent_size = tui.current().config.indent_size;
|
||||
const tab_width = tui.current().config.tab_width;
|
||||
self.* = Self{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue