Skip to content

Commit

Permalink
Add documentation button to collapsed app bar
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Nov 2, 2024
1 parent 01d17ab commit 8e8e372
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 2 additions & 3 deletions app/lib/renderers/cursors/label.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ class LabelCursor extends Renderer<LabelCursorData> {
package: icon.fontPackage,
fontSize: iconSize,
color: iconColor,
fontStyle: property?.span.italic == true
? FontStyle.italic
: FontStyle.normal,
fontStyle:
property.span.getItalic() ? FontStyle.italic : FontStyle.normal,
),
),
textAlign: TextAlign.center,
Expand Down
7 changes: 6 additions & 1 deletion app/lib/views/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,17 @@ class _HomePageState extends State<HomePage> {
onlyShowOnDesktop: showBanner,
actions: [
if (!showBanner) ...[
_getBannerVisibilityWidget(context, settings),
IconButton(
icon: const PhosphorIcon(PhosphorIconsLight.bookOpen),
tooltip: AppLocalizations.of(context).documentation,
onPressed: () => openHelp(['intro']),
),
IconButton(
icon: const PhosphorIcon(PhosphorIconsLight.gear),
tooltip: AppLocalizations.of(context).settings,
onPressed: () => openSettings(context),
),
_getBannerVisibilityWidget(context, settings),
],
],
),
Expand Down
1 change: 1 addition & 0 deletions metadata/en-US/changelogs/121.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* Add checksums to release assets ([#753](https://github.com/LinwoodDev/Butterfly/issues/753))
* Add documentation button to collapsed app bar
* Move eraser tool to property view
* Improve scaling rotated elements ([#518](https://github.com/LinwoodDev/Butterfly/issues/518) partially, offset needs to be fixed)
* Improve performance on large pages ([#667](https://github.com/LinwoodDev/Butterfly/issues/667) partially)
Expand Down

0 comments on commit 8e8e372

Please sign in to comment.