mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Remove the app.Draw() gorountine
Prefer to have widgets force a draw when their data changes. This should reduce draws (unless the user has a module installed that updates >= 1/sec, the old draw default). This should also remove a source of some of the race conditions that users were experiencing (though not all, there are still many).
This commit is contained in:
@@ -1,9 +1,22 @@
|
||||
wtf:
|
||||
grid:
|
||||
columns: [40]
|
||||
columns: [40, 40]
|
||||
rows: [16]
|
||||
refreshInterval: 1
|
||||
mods:
|
||||
clocks:
|
||||
enabled: true
|
||||
locations:
|
||||
Toronto: "America/Toronto"
|
||||
UTC: "Etc/UTC"
|
||||
Vancouver: "America/Vancouver"
|
||||
position:
|
||||
top: 0
|
||||
left: 0
|
||||
height: 1
|
||||
width: 1
|
||||
refreshInterval: 15
|
||||
sort: "chronological"
|
||||
textfile:
|
||||
enabled: true
|
||||
filePaths:
|
||||
@@ -12,8 +25,8 @@ wtf:
|
||||
format: true
|
||||
formatStyle: "vim"
|
||||
position:
|
||||
top: 1
|
||||
top: 0
|
||||
left: 1
|
||||
height: 2
|
||||
height: 1
|
||||
width: 1
|
||||
refreshInterval: 15
|
||||
|
||||
Reference in New Issue
Block a user