mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
a671e72706
It seems that there is a broader problem with the way that the button is embedded within the label of a checkbox; even on Chrome it meant that the checkbox active state was triggered when clicking on any of the buttons. The user experience was in any case confusing; it wasn’t obvious that clicking on the label to the right of the button would flick the checkbox. The solution takes the buttons and labels out of the checkbox label.
29 lines
777 B
Plaintext
29 lines
777 B
Plaintext
title: $:/core/ui/SideBar/Tools
|
|
tags: $:/tags/SideBar
|
|
caption: {{$:/language/SideBar/Tools/Caption}}
|
|
|
|
\define lingo-base() $:/language/ControlPanel/
|
|
\define config-title()
|
|
$:/config/PageControlButtons/Visibility/$(listItem)$
|
|
\end
|
|
|
|
<<lingo Basics/Version/Prompt>> <<version>>
|
|
|
|
<$set name="tv-config-toolbar-icons" value="yes">
|
|
|
|
<$set name="tv-config-toolbar-text" value="yes">
|
|
|
|
<$set name="tv-config-toolbar-class" value="">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
|
|
|
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>>/> <i class="tc-muted"><$transclude tiddler=<<listItem>> field="description"/></i>
|
|
|
|
</$list>
|
|
|
|
</$set>
|
|
|
|
</$set>
|
|
|
|
</$set>
|