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",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "behavior3editor",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "behavior3editor",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"main": "dist-electron/main/index.js",
|
||||
"description": "行为树编辑器",
|
||||
"author": "zhandouxiaojiji & codetypes",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useWorkspace } from "@/contexts/workspace-context";
|
||||
import { Hotkey } from "@/misc/keys";
|
||||
import { Hotkey, isMacos } from "@/misc/keys";
|
||||
import Path from "@/misc/path";
|
||||
import { SearchOutlined } from "@ant-design/icons";
|
||||
import { Button, Flex, LayoutProps, Select } from "antd";
|
||||
@@ -52,7 +52,7 @@ export const TitleBar: FC<LayoutProps> = () => {
|
||||
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" }}>
|
||||
<Button
|
||||
className="b3-no-drag-region"
|
||||
@@ -111,7 +111,7 @@ export const TitleBar: FC<LayoutProps> = () => {
|
||||
/>
|
||||
)}
|
||||
</Flex>
|
||||
<div style={{ width: "100%" }}>{process.platform === "darwin" && <Menu />}</div>
|
||||
<div style={{ width: "100%" }}>{isMacos && <Menu />}</div>
|
||||
</Flex>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user