xP: use an industry-standard name for a button

This commit is contained in:
Přemysl Eric Janouch 2022-09-07 17:33:14 +02:00
parent 88a7b1a2d9
commit 2075c38fd1
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -253,7 +253,7 @@ let Toolbar = {
view: vnode => { view: vnode => {
return m('.toolbar', {}, [ return m('.toolbar', {}, [
m('button', {onclick: Toolbar.toggleAutoscroll}, m('button', {onclick: Toolbar.toggleAutoscroll},
bufferAutoscroll ? 'Pause autoscroll' : 'Unpause autoscroll'), bufferAutoscroll ? 'Scroll lock' : 'Scroll unlock'),
m('button', {onclick: Toolbar.toggleLog}, m('button', {onclick: Toolbar.toggleLog},
bufferLog === undefined ? 'Show log' : 'Hide log'), bufferLog === undefined ? 'Show log' : 'Hide log'),
]) ])