update
This commit is contained in:
parent
e20dd5d33c
commit
d3bd8b5de0
@ -114,6 +114,7 @@ func (this *appTerm) LazyInit(obs observer.Observer) error {
|
||||
|
||||
//excute
|
||||
excuteBtn := &widget.Button{Text: "执行", Icon: theme.ConfirmIcon()}
|
||||
excuteBtn.TypedKey(&fyne.KeyEvent{Name: fyne.KeyEnter})
|
||||
excuteBtn.OnTapped = func() {
|
||||
output.Text = ""
|
||||
excuteBtn.Disable()
|
||||
@ -136,7 +137,7 @@ func (this *appTerm) LazyInit(obs observer.Observer) error {
|
||||
split := container.NewVSplit(container.NewGridWithColumns(2,
|
||||
cmdLast,
|
||||
container.NewBorder(configForm, btns, widget.NewSeparator(), nil)), output)
|
||||
split.Offset = 0.3
|
||||
split.Offset = 0.25
|
||||
content.Objects = append(content.Objects, split)
|
||||
|
||||
this.tabItem.Content = content
|
||||
|
@ -52,7 +52,7 @@ func (this *ModuleTask) Start() (err error) {
|
||||
}
|
||||
|
||||
//初始化日常、周常、成就
|
||||
func (this *ModuleTask) InitTask(uid string, taskTag comm.TaskTag) {
|
||||
func (this *ModuleTask) InitTaskAll(uid string, taskTag comm.TaskTag) {
|
||||
this.modelTask.initTask(uid, taskTag)
|
||||
this.modelTaskActive.initActiveReward(uid)
|
||||
}
|
||||
@ -96,7 +96,7 @@ func (this *ModuleTask) ResetTask(uid string, taskTag comm.TaskTag) {
|
||||
this.resetActive(uid, taskTag)
|
||||
this.modelTask.clearTask(uid, taskTag)
|
||||
this.modelTaskActive.clearTask(uid, taskTag)
|
||||
this.InitTask(uid, taskTag)
|
||||
this.InitTaskAll(uid, taskTag)
|
||||
}
|
||||
|
||||
//任务处理
|
||||
|
Loading…
Reference in New Issue
Block a user