mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-28 12:11:42 +00:00
Touch a temp tiddler when removing a tag (#9889)
* Touch a temp tiddler when removing a tag Like that removing a tag doesn't make TiddlyWiki5 wait for the Typing timeout to remove it but removes it instantly, because also a non-draft Tiddler has changed * Add release notes for bugfix in Edit Mode tags Fixes an issue where tags of Tiddlers in Edit Mode don't animate instantly when they get removed. * Add inline comment * Update release version to 5.5.0 in changenote
This commit is contained in:
@@ -18,10 +18,12 @@ tags: $:/tags/EditTemplate
|
||||
<$button class="tc-btn-invisible tc-remove-tag-button"
|
||||
style.fill=<<foregroundColor>>
|
||||
>
|
||||
<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter="-[{!!title}]"/>
|
||||
{{$:/core/images/close-button}}
|
||||
</$button>
|
||||
</span>
|
||||
<$action-listops $tiddler=<<saveTiddler>> $field=<<tagField>> $subfilter="-[{!!title}]"/>
|
||||
<!-- Touch a temp tiddler so that the tag remove animation fires instantly. Otherwise it's delayed by the typing timeout duration -->
|
||||
<$action-setfield $tiddler="$:/temp/tags-edit-refresh" text=<<currentTiddler>>/>
|
||||
{{$:/core/images/close-button}}
|
||||
</$button>
|
||||
</span>
|
||||
</$let>
|
||||
\end
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
title: $:/changenotes/5.4.1/#9889
|
||||
description: Make tags in Edit Mode animate instantly when removing
|
||||
tags: $:/tags/ChangeNote
|
||||
release: 5.5.0
|
||||
change-type: bugfix
|
||||
change-category: usability
|
||||
github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9889
|
||||
github-contributors: BurningTreeC
|
||||
|
||||
Fixes an issue where tags of Tiddlers in Edit Mode don't animate instantly when they get removed
|
||||
Reference in New Issue
Block a user