mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 桌面端加入底部状态栏 https://github.com/siyuan-note/siyuan/issues/5286
This commit is contained in:
parent
7a83808d45
commit
12cea42ce3
4 changed files with 140 additions and 30 deletions
|
|
@ -144,6 +144,10 @@ func PushErrMsg(msg string, timeout int) (msgId string) {
|
|||
return
|
||||
}
|
||||
|
||||
func PushStatusBar(msg string) {
|
||||
BroadcastByType("main", "statusbar", 0, msg, nil)
|
||||
}
|
||||
|
||||
const (
|
||||
PushProgressCodeProgressed = 0 // 有进度
|
||||
PushProgressCodeEndless = 1 // 无进度
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue