hide stop/refresh when loading is/isn't in progress
This commit is contained in:
parent
ccdf63eea1
commit
5871afe197
@ -78,7 +78,10 @@ progress, trough {
|
||||
(widget:pack_end show-overview false false 2)
|
||||
|
||||
(webview:listen :uri #(url:set_text $1))
|
||||
|
||||
(webview:listen :estimated-load-progress
|
||||
(fn [fraction]
|
||||
(tset stop :visible (< fraction 1))
|
||||
(tset refresh :visible (>= fraction 1))))
|
||||
{
|
||||
:widget widget
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user