|
|
|
|
@ -94,7 +94,10 @@ class ToolbarDisplayController {
|
|
|
|
|
previousEvent: previousEvent,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
|
|
|
|
|
// I'm not sure why I put this here, but it causes the toolbar
|
|
|
|
|
// not to open immediately after clicking (user has to scroll or move their cursor)
|
|
|
|
|
// so I'm commenting it out for now
|
|
|
|
|
// WidgetsBinding.instance.addPostFrameCallback((timeStamp) {
|
|
|
|
|
Widget overlayEntry;
|
|
|
|
|
if (toolbar == null) return;
|
|
|
|
|
try {
|
|
|
|
|
@ -146,7 +149,7 @@ class ToolbarDisplayController {
|
|
|
|
|
() => toolbarModeStream.add(mode),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool get highlighted {
|
|
|
|
|
|