Skip to content

Commit

Permalink
dynanode: don't contain size
Browse files Browse the repository at this point in the history
  • Loading branch information
BurningTreeC committed Mar 26, 2024
1 parent 30f822d commit f800f82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions TiddlyFlex/files/modules/widgets/dynanode.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ DynaNodeWidget.prototype.checkVisibility = function(element,rect) {
$tw.utils.removeClass(element,"tc-dynanode-hidden");
if(element.style["contain"] !== "content") {
$tw.utils.setStyle(element,[
{ contain: "size layout paint style" }
{ contain: "layout style paint" } // no size
]);
}
}
Expand All @@ -297,7 +297,7 @@ DynaNodeWidget.prototype.checkVisibility = function(element,rect) {
$tw.utils.removeClass(element,"tc-dynanode-near");
if(element.style["contain"] !== "content") {
$tw.utils.setStyle(element,[
{ contain: "size layout paint style" }
{ contain: "layout style paint" } // no size
]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion TiddlyFlex/plugin.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "TiddlyFlex",
"plugin-type": "plugin",
"author": "Simon Huber",
"version": "0.0.170",
"version": "0.0.171",
"core-version": ">=5.3.3",
"source": "https://github.com/BurningTreeC/TiddlyFlex",
"list": "readme license"
Expand Down

0 comments on commit f800f82

Please sign in to comment.