feat(ui): align desktop controls and inspector typography with Figma UI3
This commit is contained in:
1 parent
abc1868550
commit
bc3fdd6119
45 files changed
+1806
-227
No files matched your search
@@ -411,7 +411,7 @@ class _TimelineTabsBarState extends ConsumerState<_TimelineTabsBar> {
|
||||
controller: _scrollController,
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: AppSpacing.tiny),
|
||||
padding: const EdgeInsets.symmetric(horizontal: AppSpacing.small),
|
||||
child: Row(
|
||||
children: [
|
||||
for (
|
||||
@@ -419,7 +419,7 @@ class _TimelineTabsBarState extends ConsumerState<_TimelineTabsBar> {
|
||||
index < widget.timelines.length;
|
||||
index++
|
||||
) ...[
|
||||
if (index > 0) const SizedBox(width: AppSpacing.hairline),
|
||||
if (index > 0) const SizedBox(width: AppSpacing.tiny),
|
||||
_buildTab(context, widget.timelines[index]),
|
||||
],
|
||||
],
|
||||
@@ -497,7 +497,7 @@ class _TimelineTabsBarState extends ConsumerState<_TimelineTabsBar> {
|
||||
),
|
||||
Padding(
|
||||
padding: EdgeInsetsDirectional.only(
|
||||
end: desktop ? AppSpacing.tiny : 0,
|
||||
end: desktop ? AppSpacing.small : 0,
|
||||
),
|
||||
child: listButton,
|
||||
),
|
||||
@@ -538,7 +538,7 @@ class _TimelineTabsBarState extends ConsumerState<_TimelineTabsBar> {
|
||||
),
|
||||
],
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 3),
|
||||
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||
child: Semantics(
|
||||
selected: selected,
|
||||
child: ConstrainedBox(
|
||||
@@ -934,7 +934,9 @@ class _TimelineEditorState extends State<_TimelineEditor> {
|
||||
? AppDesktopMetrics.timelineToolbar
|
||||
: 32,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8),
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: AppSpacing.medium,
|
||||
),
|
||||
child: AppCommandToolbar(
|
||||
groups: [
|
||||
[
|
||||
|
||||
@@ -148,12 +148,9 @@ class TimelineSpeedEditor extends StatelessWidget {
|
||||
}
|
||||
|
||||
for (var index = 0; index < frame.length; index++) {
|
||||
if (frame.kindAt(index) == TimelineViewportItemKind.transition) {
|
||||
continue;
|
||||
}
|
||||
final identity = frame.identityAt(index);
|
||||
final handle = controller.elementForIdentity(identity);
|
||||
final handle = controller.elementForFrameItem(frame, index);
|
||||
if (handle == null) continue;
|
||||
final identity = frame.identityAt(index);
|
||||
final bodyId = identity is LayoutBodyId
|
||||
? identity
|
||||
: LayoutBodyId.element(handle);
|
||||
|
||||
Reference in new issue
Block a user