mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: launch review issues (#3413)
This commit is contained in:
@ -87,7 +87,13 @@ class _AlignmentButtonsState extends State<_AlignmentButtons> {
|
||||
color: Theme.of(context).colorScheme.onTertiary,
|
||||
borderRadius: const BorderRadius.all(Radius.circular(4)),
|
||||
),
|
||||
popupBuilder: (_) => _AlignButtons(onAlignChanged: widget.onAlignChanged),
|
||||
popupBuilder: (_) {
|
||||
keepEditorFocusNotifier.value += 1;
|
||||
return _AlignButtons(onAlignChanged: widget.onAlignChanged);
|
||||
},
|
||||
onClose: () {
|
||||
keepEditorFocusNotifier.value -= 1;
|
||||
},
|
||||
child: widget.child,
|
||||
);
|
||||
}
|
||||
|
@ -167,16 +167,21 @@ class OutlineItemWidget extends StatelessWidget {
|
||||
style: HoverStyle(
|
||||
hoverColor: Theme.of(context).hoverColor,
|
||||
),
|
||||
child: GestureDetector(
|
||||
onTap: () => scrollToBlock(context),
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(left: node.leftIndent),
|
||||
child: Text(
|
||||
node.outlineItemText,
|
||||
style: style,
|
||||
builder: (context, onHover) {
|
||||
return GestureDetector(
|
||||
onTap: () => scrollToBlock(context),
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(left: node.leftIndent),
|
||||
child: Text(
|
||||
node.outlineItemText,
|
||||
style: style.copyWith(
|
||||
color:
|
||||
onHover ? Theme.of(context).colorScheme.onSecondary : null,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user