1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-25 08:26:52 +00:00

use get.theme.option sidebarposition instead of vanilla option directly

This commit is contained in:
BurningTreeC 2024-10-28 06:02:02 +01:00
parent d4a94d4984
commit a35b9a5d5c

View File

@ -234,7 +234,7 @@ title: $:/core/procedures/sidebar-resizer
\function get.drag.diff()
[<event-fromcatcher-posx>subtract{$:/state/sidebar/resizing!!start-posx}]
:map[{$:/themes/tiddlywiki/vanilla/options/sidebarposition}match[left]then<currentTiddler>multiply[-1]else<currentTiddler>]
:map[<get.theme.option sidebarposition>match[left]then<currentTiddler>multiply[-1]else<currentTiddler>]
\end
\procedure sidebar-resizer-pointermove-actions()