feat(workspace): 桌面工作区、主题与交互更新,发布 0.1.2
Gitea CI / Check code and tests (push) Successful in 6m37s
Gitea CI / Build Windows x64 app (push) Successful in 3m18s
Gitea CI / Build Android APK (push) Successful in 3m47s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m7s
Gitea CI / Assemble and validate CI artifacts (push) Successful in 50s
Gitea CI / Gitea CI passed (push) Successful in 2s
Gitea Release / Prepare draft Release (push) Successful in 9s
Gitea Release / Upload Android to draft Release (push) Successful in 16s
Gitea Release / Upload Windows to draft Release (push) Successful in 22s
Gitea Release / Verify and publish Release (push) Successful in 14s
Gitea CI / Check code and tests (push) Successful in 6m37s
Gitea CI / Build Windows x64 app (push) Successful in 3m18s
Gitea CI / Build Android APK (push) Successful in 3m47s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m7s
Gitea CI / Assemble and validate CI artifacts (push) Successful in 50s
Gitea CI / Gitea CI passed (push) Successful in 2s
Gitea Release / Prepare draft Release (push) Successful in 9s
Gitea Release / Upload Android to draft Release (push) Successful in 16s
Gitea Release / Upload Windows to draft Release (push) Successful in 22s
Gitea Release / Verify and publish Release (push) Successful in 14s
This commit was merged in pull request #13.
This commit is contained in:
1 parent
aa5255d1e4
commit
abc1868550
260 files changed
+43964
-5591
No files matched your search
@@ -247,8 +247,16 @@ class _ClipPropertiesState extends State<_ClipProperties> {
|
||||
_selectCategory,
|
||||
),
|
||||
child: ScrollEdgeFadeBuilder(
|
||||
key: PageStorageKey((clip.id, _selected)),
|
||||
key: ValueKey((widget.sequence, clip.id, _selected)),
|
||||
builder: (controller) => SingleChildScrollView(
|
||||
// Keep scroll offsets separate from nested expansion state and from
|
||||
// the legacy inspector key, which may already contain a bool.
|
||||
key: PageStorageKey((
|
||||
'property-scroll',
|
||||
widget.sequence,
|
||||
clip.id,
|
||||
_selected,
|
||||
)),
|
||||
controller: controller,
|
||||
// Inspector controls stop at their bounds; macOS's default elastic
|
||||
// physics repeatedly displaces the content during edge scrolling.
|
||||
@@ -289,28 +297,42 @@ class _Property extends StatelessWidget {
|
||||
final String value;
|
||||
@override
|
||||
Widget build(BuildContext context) => Padding(
|
||||
padding: AppSpacing.panelSection,
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
spacing: AppSpacing.small,
|
||||
children: [
|
||||
Expanded(
|
||||
child: Text(
|
||||
label,
|
||||
style: AppTheme.propertySectionTitleStyle(context),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: Text(
|
||||
value,
|
||||
textAlign: TextAlign.right,
|
||||
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
padding: AppTheme.isDesktop(context)
|
||||
? const EdgeInsets.symmetric(
|
||||
horizontal: AppInspectorMetrics.padding,
|
||||
vertical: 4,
|
||||
)
|
||||
: AppSpacing.panelSection,
|
||||
child: AppTheme.isDesktop(context)
|
||||
? AppPropertyGroup(
|
||||
label: label,
|
||||
child: Text(
|
||||
value,
|
||||
textAlign: TextAlign.right,
|
||||
style: Theme.of(context).textTheme.bodyMedium,
|
||||
),
|
||||
)
|
||||
: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
spacing: AppSpacing.small,
|
||||
children: [
|
||||
Expanded(
|
||||
child: Text(
|
||||
label,
|
||||
style: AppTheme.propertySectionTitleStyle(context),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: Text(
|
||||
value,
|
||||
textAlign: TextAlign.right,
|
||||
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -320,7 +342,12 @@ class _Message extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) => Center(
|
||||
child: Padding(
|
||||
padding: AppSpacing.panelSection,
|
||||
padding: AppTheme.isDesktop(context)
|
||||
? const EdgeInsets.symmetric(
|
||||
horizontal: AppInspectorMetrics.padding,
|
||||
vertical: 4,
|
||||
)
|
||||
: AppSpacing.panelSection,
|
||||
child: Text(
|
||||
text,
|
||||
textAlign: TextAlign.center,
|
||||
|
||||
Reference in new issue
Block a user