daily: 2021-09-28

This commit is contained in:
2021-09-29 00:39:59 +08:00
parent 6634024333
commit 47f9643aed
11 changed files with 481 additions and 96 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ function LeftInfoBlock() {
>
<Text>1&nbsp;&nbsp;= </Text>
{store.tone.startsWith("♭") && (
<Text x="27" y="-2" fontSize="12">
<Text x="27" y="-2" fontSize={store.defaultSubFontSize}>
</Text>
)}
@@ -89,7 +89,7 @@ function LeftInfoBlock() {
<Text x="0" y="12" textAnchor="middle">
{store.beat[1]}
</Text>
<line x1="-8" y1="8" x2="8" y2="8" stroke="black" />
<line x1="-8" y1="8" x2="8" y2="8" stroke="currentColor" />
</Row>
</EditableContent>
<EditableContent
+3 -4
View File
@@ -1,10 +1,10 @@
import { DeleteOutlined, EditOutlined, PlusOutlined } from "@ant-design/icons";
import { DeleteOutlined, PlusOutlined } from "@ant-design/icons";
import { Modal } from "antd";
import { action } from "mobx";
import { observer } from "mobx-react-lite";
import EditableContent from "../../../component/EditableContent";
import store from "../../../store/global";
import P from "../../../util/placement";
import store from "../../../store/global";
import Row from "../../Row";
import Text from "../../Text";
@@ -66,8 +66,8 @@ const handleChangeAuthor = action((index, value) => {
});
function RightInfoBlock() {
// TODO: working
return (
// TODO: working
<Row
type="authors"
offsetX={store.canvasWidth - store.marginHorizontal}
@@ -79,7 +79,6 @@ function RightInfoBlock() {
popoverProps={{ trigger: "context" }}
onChange={handleSelectBlockMenu}
>
// TODO: 添加新增指引
<rect
x={store.marginHorizontal - 150}
y="-64"
+1 -1
View File
@@ -29,7 +29,7 @@ function Title() {
editable
x="50%"
fontSize="32"
fill="black"
fill="currentColor"
stroke="none"
textAnchor="middle"
>