Skip to content

Commit

Permalink
Merge pull request #923 from WolframResearch/bugfix/454146
Browse files Browse the repository at this point in the history
Bugfix: Fix unevaluated FE code in history button when full screen
  • Loading branch information
rhennigan authored Nov 15, 2024
2 parents d7963cc + b4de0bd commit a626a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Chatbook/ChatModes/UI.wl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ historyButton[ Dynamic[ nbo_ ] ] :=
Dynamic[
If[
Or[
CurrentValue[ nbo, { WindowSize, 1 } ] < 250,
AbsoluteCurrentValue[ nbo, { WindowSize, 1 } ] < 250,
Not @ MatchQ[CurrentValue[ nbo, { TaggingRules, "ConversationTitle" } ],
Except["", _String]]
],
Expand All @@ -101,7 +101,7 @@ historyButton[ Dynamic[ nbo_ ] ] :=
FE`Evaluate @ FEPrivate`TruncateStringToWidth[
CurrentValue[ nbo, { TaggingRules, "ConversationTitle" } ],
"WorkspaceChatToolbarTitle",
CurrentValue[ nbo, { WindowSize, 1 } ] - 210,
AbsoluteCurrentValue[ nbo, { WindowSize, 1 } ] - 210,
Right
],
"WorkspaceChatToolbarTitle"
Expand Down

0 comments on commit a626a8b

Please sign in to comment.