diff --git a/ShadowEditor.Web/locales/zh-CN.json b/ShadowEditor.Web/locales/zh-CN.json index b87931cd..d639c624 100644 --- a/ShadowEditor.Web/locales/zh-CN.json +++ b/ShadowEditor.Web/locales/zh-CN.json @@ -648,5 +648,11 @@ "No Type": "无类型", "Debug Mode": "调试模式", "Enable": "启用", - "Disable": "禁用" + "Disable": "禁用", + "Add Layer": "添加层", + "Edit Layer": "编辑层", + "Delete Layer": "删除层", + "Slower": "减速", + "Pause": "暂停", + "Faster": "加速" } \ No newline at end of file diff --git a/ShadowEditor.Web/src/ui/timeline/Timeline.jsx b/ShadowEditor.Web/src/ui/timeline/Timeline.jsx index 53197882..85b8cc7d 100644 --- a/ShadowEditor.Web/src/ui/timeline/Timeline.jsx +++ b/ShadowEditor.Web/src/ui/timeline/Timeline.jsx @@ -71,14 +71,15 @@ class Timeline extends React.Component { return
- - + + + - - - - - + + + + + diff --git a/ShadowEditor.Web/src/ui/timeline/css/Timeline.css b/ShadowEditor.Web/src/ui/timeline/css/Timeline.css index 3ec478ac..4ea4d331 100644 --- a/ShadowEditor.Web/src/ui/timeline/css/Timeline.css +++ b/ShadowEditor.Web/src/ui/timeline/css/Timeline.css @@ -8,12 +8,20 @@ .Timeline>.controls>.IconButton { border: none; - width: 24px; - height: 24px; - margin: 0 4px; + width: 20px; + height: 20px; + margin: 0 6px; padding: 0; } +.Timeline>.controls>.IconButton>.iconfont { + font-size: 18px; +} + +.Timeline>.controls>.ToolbarSeparator { + margin: 0 8px; +} + .Timeline>.box { position: relative; display: flex;