update version to 1.1.2
This commit is contained in:
1 parent
8dca06f156
commit
be509bed9e
3 files changed
+6
-6
No files matched your search
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "behavior3editor",
|
"name": "behavior3editor",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "behavior3editor",
|
"name": "behavior3editor",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "behavior3editor",
|
"name": "behavior3editor",
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"main": "dist-electron/main/index.js",
|
"main": "dist-electron/main/index.js",
|
||||||
"description": "行为树编辑器",
|
"description": "行为树编辑器",
|
||||||
"author": "zhandouxiaojiji & codetypes",
|
"author": "zhandouxiaojiji & codetypes",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { useWorkspace } from "@/contexts/workspace-context";
|
import { useWorkspace } from "@/contexts/workspace-context";
|
||||||
import { Hotkey } from "@/misc/keys";
|
import { Hotkey, isMacos } from "@/misc/keys";
|
||||||
import Path from "@/misc/path";
|
import Path from "@/misc/path";
|
||||||
import { SearchOutlined } from "@ant-design/icons";
|
import { SearchOutlined } from "@ant-design/icons";
|
||||||
import { Button, Flex, LayoutProps, Select } from "antd";
|
import { Button, Flex, LayoutProps, Select } from "antd";
|
||||||
@@ -52,7 +52,7 @@ export const TitleBar: FC<LayoutProps> = () => {
|
|||||||
position: "absolute",
|
position: "absolute",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div style={{ width: "100%" }}>{process.platform !== "darwin" && <Menu />}</div>
|
<div style={{ width: "100%" }}>{!isMacos && <Menu />}</div>
|
||||||
<Flex style={{ width: "100%", alignItems: "center", justifyContent: "center" }}>
|
<Flex style={{ width: "100%", alignItems: "center", justifyContent: "center" }}>
|
||||||
<Button
|
<Button
|
||||||
className="b3-no-drag-region"
|
className="b3-no-drag-region"
|
||||||
@@ -111,7 +111,7 @@ export const TitleBar: FC<LayoutProps> = () => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Flex>
|
</Flex>
|
||||||
<div style={{ width: "100%" }}>{process.platform === "darwin" && <Menu />}</div>
|
<div style={{ width: "100%" }}>{isMacos && <Menu />}</div>
|
||||||
</Flex>
|
</Flex>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user