mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-23 15:36:52 +00:00
fix sidebar slider not moving anymore
This commit is contained in:
parent
7522109ca8
commit
3261818850
@ -47,7 +47,7 @@ title: $:/core/procedures/sidebar-resizer
|
||||
:else[<qualify>addsuffix<get.sidebar.width.tiddler>addsuffix<currentTiddler>sha256[]addprefix[$:/state/resizing-]]
|
||||
\end
|
||||
|
||||
\procedure set_theme_throttling(metric,tiddler)
|
||||
\procedure set-theme-throttling(metric,tiddler)
|
||||
<%if [<set.throttling>match[yes]] %>
|
||||
<$set name="metricsTiddler" value={{{ [<tiddler>getvariable[]!is[blank]] :else[function[get.theme],<metric>] }}}>
|
||||
<%if [<metricsTiddler>!has[throttle.refresh]] %>
|
||||
@ -339,17 +339,17 @@ title: $:/core/procedures/sidebar-resizer
|
||||
widgetNodeWidth={{{ [<get.resizer.state>get[widget-node-width]] }}}
|
||||
dragDiff=<<get.drag.diff>>>
|
||||
<%if [<tv-set-storywidth-storyright>match[yes]] %>
|
||||
<<set_theme_throttling storyright storyRightTiddler>>
|
||||
<<set_theme_throttling tiddlerwidth tiddlerWidthTiddler>>
|
||||
<<set_theme_throttling storywidth storyWidthTiddler>>
|
||||
<<set-theme-throttling storyright storyRightTiddler>>
|
||||
<<set-theme-throttling tiddlerwidth tiddlerWidthTiddler>>
|
||||
<<set-theme-throttling storywidth storyWidthTiddler>>
|
||||
<<set-storywidth-storyright-actions>>
|
||||
<% endif %>
|
||||
<%if [<tv-set-sidebarwidth>match[yes]] %>
|
||||
<<set_theme_throttling sidebarwidth sidebarWidthTiddler>>
|
||||
<<set-theme-throttling sidebarwidth sidebarWidthTiddler>>
|
||||
<<set-sidebarwidth-actions>>
|
||||
<% endif %>
|
||||
<%if [<tv-set-centralised>match[yes]] %>
|
||||
<<set_theme_throttling storywidth storyWidthTiddler>>
|
||||
<<set-theme-throttling storywidth storyWidthTiddler>>
|
||||
<<set-centralised-actions>>
|
||||
<% endif %>
|
||||
</$let>
|
||||
@ -358,7 +358,7 @@ title: $:/core/procedures/sidebar-resizer
|
||||
|
||||
\function get.resizer.class() tc-sidebar-resizer [<get.resizer.state>is[tiddler]then[tc-resizer-active]] [<resizer.class>] [<resizer.class>is[blank]then<qualify>addsuffix<currentTiddler>sha256[]addprefix[tc-sidebar-resizer-identified-]] +[join[ ]]
|
||||
|
||||
\function get.active.class(class) [<class>] [<eventCatcherClass>] [<get.resizer.state>is[tiddler]then[tc-resizer-active]] +[join[ ]]
|
||||
\function get.active.class(class) [<class>] [<resizer.class>match[tc-main-sidebar-resizer]] [<eventCatcherClass>] [<get.resizer.state>is[tiddler]then[tc-resizer-active]] +[join[ ]]
|
||||
|
||||
\function get.sidebar-resizer.pointerdown.actions()
|
||||
[<get.resizer.state>match[$:/state/sidebar/resizing]then<sidebar-resizer-pointerdown-actions>]
|
||||
|
Loading…
Reference in New Issue
Block a user