[tw] Re: [TW5] The Pan Widget

2018-02-10 Thread BurningTreeC
The *pan *widget now lets you define $steps="stepspersecond" (1/2/20/100...default:24) and $repeatactions="""actionstrings""" for actions you want to repeat each step. have fun, BTC -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw] Re: [TW5] The Pan Widget

2018-02-06 Thread BurningTreeC
@Jan, for your usecase of the *swipe* widget: you can play with $threshold="" (default is 30) and set it lower. the threshold defines the minimal amount of movement required to trigger the swipe. if you set it lower, your swipe will be triggered earlier. If you want some transitions on the

Re: [tw] Re: [TW5] The Pan Widget

2018-02-05 Thread BurningTreeC
Am Montag, 5. Februar 2018 23:04:59 UTC+1 schrieb Jan: > > Great! > I guessed that seeing the big heap of data it gathers. > yeah, most of it isn't needed I think I changed it to only get the elements dimensions, the pointertype and the starting coordinates on panstart, and during pan it

Re: [tw] Re: [TW5] The Pan Widget

2018-02-05 Thread Jan
Great! I guessed that seeing the big heap of data it gathers. Yours Jan Am 05.02.2018 um 12:36 schrieb BurningTreeC: the pan widget currently is a bit heavy. I'm about to change it to selectively calculate and save only the values the user chooses -- You received this message because you

[tw] Re: [TW5] The Pan Widget

2018-02-05 Thread BurningTreeC
the pan widget currently is a bit heavy. I'm about to change it to selectively calculate and save only the values the user chooses -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it,

[tw] Re: [TW5] The Pan Widget

2018-02-05 Thread BurningTreeC
Hi Jan, try $direction="horizontal" (it accepts horizontal/vertical) Am Samstag, 3. Februar 2018 17:16:21 UTC+1 schrieb BurningTreeC: > > Hello TW community, > > I want to introduce the *pan widget:* > > *<$pan $targets $startactions $endactions>targets* > > > A widget that consists of 2

Re: [tw] Re: [TW5] The Pan Widget

2018-02-04 Thread Jan
Hi Simon, now it works, I found my(!) bugs which prevented the menu from working. ( I just had inverted the functions to be triggered) It works beautifully. smarties.tiddlyspot.com Thanks for making this possible. Next weekend (I won't find the time before) I will have to put it on the

[tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
two or three or four finger swipes/taps/pans also work if you provide $pointers="2"/$pointers="3" ... so this does different things on the "testclass" element if you swipe with one or two fingers: <$swipe $targets="testclass" $state="on" $direction="left" *$pointers="1" *

[tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
Some updates: the swipe, pan and tap widgets now accept multiple classes in $targets="class1 class3 class2" (no commas, just spaces) So you can do something like this in the story PageTemplate and swipe on tiddlers and the story river (with mouse or touch) to open and close the sidebar

[tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
I think I'll change the swipe widget in the near future so that it accepts a list of classes -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
@Jan, the leftmenuwrapper in the "open" pane is covered by other divs, so I changed the swipe invocation to: <$reveal state="$:/state/MultiMenu" type="match" text="" default="" retain="yes" animate="yes"> <$swipe $targets="leftmenuwrapper" $velocity="1.0" $direction="right"

[tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
Jan, forget everything I said if I remove your tag $:/tags/Macro and I add my tag $:/tags/Macro (and change your macro to set sidebar to yes) - then it works do you have a space in your tag? Am Sonntag, 4. Februar 2018 11:07:26 UTC+1 schrieb BurningTreeC: > > Jan, that's strange: on your site,

[tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
Jan, that's strange: on your site, if I remove the tag $:/tags/Macro, save the Tiddler, open it and readd $:/tags/Macro - then it works. Must have something to do with the TopRightBar tag and how TW loads macros on startup. I also changed your macro that it sets the sidebar to "yes" -- You

[tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
@Jan, sorry - the tag wasn't the problem It must have been something else. But I got it working -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [tw] Re: [TW5] The Pan Widget

2018-02-04 Thread BurningTreeC
Hi Jan, Macros work, I tried it on your site. I think the problem there is something else. If I remove the tag $:/tags/TopRightBar from the menu, it works. I guess the TopRightBar tagged tiddlers get transcluded somewhere so that those macros don't have effect. I don't know -- You received

Re: [tw] Re: [TW5] The Pan Widget

2018-02-04 Thread Jan
Hallo Simon, Heureka, it works! Now I got an further task: Because a lot of actions shall be triggerd by the swipe I tried to replace the actions with a macro <> (defined in $:/core/ui/TopBar/menu). Could you get macros to work in the widget? Yours Jan Am 04.02.2018 um 07:51 schrieb

[tw] Re: [TW5] The Pan Widget

2018-02-03 Thread BurningTreeC
@Jan, you could also: <$reveal state="$:/state/MultiMenu" type="match" text="" default="" retain="yes" animate="yes"> <$swipe $targets="leftmenuwrapper" $velocity="1.0" $direction="right" $actions="""<$action-setfield $tiddler="$:/state/sidebar" $value="no"/><$action-setfield

[tw] Re: [TW5] The Pan Widget

2018-02-03 Thread BurningTreeC
@all, for the *pan widget *I'll make some adjustments to let you specify the values you want it to export to the state tiddler so that it doesn't calculate the others, that should make it lighter in terms of performance for the *swipe *and *tap *widgets I'll implement options so that one can

[tw] Re: [TW5] The Pan Widget

2018-02-03 Thread BurningTreeC
@Jan, I took a look how you implemented it: <$reveal state="$:/state/MultiMenu" type="match" text="" default="" retain="yes" animate="yes"> <$swipe $targets="tc-tid-frame" $velocity="1.0" $direction="left" $actions="""<$action-setfield $tiddler="$:/state/sidebar" $value="yes"/>"""

[tw] Re: [TW5] The Pan Widget

2018-02-03 Thread BurningTreeC
the same for the pan and the tap widget Simon -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group,