another update:

* changed TiddlyTools/AutoTag/Setup "autotag" field to "autotags" (plural)
   - field now allows multiple tag values to be listed, e.g., "autoscroll 
song", will enable autoscroll handling for tiddlers tagged with "song" as 
well as those tagged "autoscroll"

* changed "max scroll" calculation
   - scrolling now ends when last line becomes visible at the *bottom* of 
the scrolling area.  Previously scrolling would end when last line reached 
the *top* of the scrolling area.

* changed symbols for "start/pause/resume" button.  Shows "chevron-down" 
when not scrolling (either at start, or when paused).  Shows 
"timestamp-off" when scrolling.

-e

On Tuesday, July 14, 2020 at 7:01:02 AM UTC-7, Eric Shulman wrote:
>
> On Tuesday, July 14, 2020 at 4:44:26 AM UTC-7, Adithya B M wrote:
>>
>> 1) Making the whole tiddler a button to start the scrolling doest work 
>> for me. Most of the time, I end up starting the autoscroll accidentally. 
>> Also, it doesnt let me select and copy text. Having the toolbar is good 
>> enough for me.
>>
>
> I've added "clickaction" setting in TiddlyTools/AutoScroll/Setup.  The 
> default is "<<pause>>".  Clearing this value disables the "click (or space 
> or enter) to start/pause/resume" behavior.  This allows you to select/copy 
> text without also triggering the auto-scrolling behavior
>  
>
>> 2) vertical height could also be configurable. I am using 80vh and it 
>> works for me.
>>
>
> I've added "frameheight" setting in TiddlyTools/AutoScroll/Setup.  The 
> default is "50vh".  You can change this to any valid CSS height value you 
> like (e.g., "80vh", "10em", "5in", "20cm", etc).  Clearing this value uses 
> hard-coded default of "50vh".
>  
>
>> 3) This doesnt play well with the stroll plugin - the back-references 
>> from stroll end up on top of the tiddler content for all the 'autoscroll' 
>> tiddlers. Could this be fixed?
>>
>
> I assume that "stroll plugin" uses a custom ViewTemplate to put the 
> back-references *after* the $:/core/ui/ViewTemplate/body 
> (".tc-tiddler-body" element).
> I added list-before="$:/core/ui/ViewTemplate/body" to the 
> TiddlyTools/AutoScroll/Template.  This moves the autoscroll content 
> *before* the .tc-tiddler-body.
> Hopefully, this *might* fix the problem.  I don't use "stroll", so I can't 
> test it.  Let me know.
>
> ALSO...
>
> I added handling in TiddlyTools/AutoScroll/Template for responding to 
> "folded" vs. "unfolded" states.
>
> Note:
> * if you fold the tiddler while scrolling is *active*, unfolding will 
> result in the scrolled position being at the end of the content.
> * if you fold the tiddler while scrolling is *paused*, unfolding will 
> result in the scrolled position being at the start of the content.
> * these behaviors are not explicitly coded into AutoScroll, but are simply 
> default "side-effects" of the folding/unfolding actions.
>
> Thanks for finding and testing all these use-cases that I hadn't 
> considered.  It's really been a big help.
>
> -e
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71cbed5f-e704-4dc9-9b7c-a50f335fa901o%40googlegroups.com.

Reply via email to