mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
清空工具。
This commit is contained in:
parent
3e87df42c1
commit
0bb37c4af4
@ -1005,5 +1005,6 @@
|
||||
"Upload Sky Ball": "上传天空球",
|
||||
"Please click the sky ball in the MapPanel.": "请点击贴图面板中的天空球。",
|
||||
"Sky Ball": "天空球",
|
||||
"The map you clicked is not sky ball.": "你点击的贴图不是天空球。"
|
||||
"The map you clicked is not sky ball.": "你点击的贴图不是天空球。",
|
||||
"Clear Tools": "清空工具"
|
||||
}
|
||||
@ -21,6 +21,7 @@ class MeasureTools extends React.Component {
|
||||
this.handleMeasureArea = this.handleMeasureArea.bind(this);
|
||||
this.handleEndMeasureArea = this.handleEndMeasureArea.bind(this);
|
||||
this.handleMeasureAngle = this.handleMeasureAngle.bind(this);
|
||||
this.handleClearTools = this.handleClearTools.bind(this);
|
||||
}
|
||||
|
||||
render() {
|
||||
@ -46,6 +47,12 @@ class MeasureTools extends React.Component {
|
||||
onClick={this.handleMeasureAngle}
|
||||
/>
|
||||
<ToolbarSeparator />
|
||||
<IconButton
|
||||
icon={'delete'}
|
||||
title={_t('Clear Tools')}
|
||||
onClick={this.handleClearTools}
|
||||
/>
|
||||
<ToolbarSeparator />
|
||||
</>;
|
||||
}
|
||||
|
||||
@ -94,6 +101,12 @@ class MeasureTools extends React.Component {
|
||||
handleMeasureAngle() {
|
||||
|
||||
}
|
||||
|
||||
// --------------------------- 清空工具 ---------------------------------------
|
||||
|
||||
handleClearTools() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export default MeasureTools;
|
||||
Loading…
x
Reference in New Issue
Block a user