|
@@ -87,14 +87,14 @@ fun ViewToolBar(
|
|
|
}
|
|
|
|
|
|
val text: String = when (it) {
|
|
|
- Back -> "退出"
|
|
|
+ Back -> if (state.editMode) "退出编辑" else "首页"
|
|
|
ZoomIn -> "放大"
|
|
|
ZoomOut -> "缩小"
|
|
|
FitScreen -> "适应屏幕"
|
|
|
ShowContour -> if (state.editMode) "调整轮廓" else "显示轮廓"
|
|
|
- ShowLength -> if (state.editMode) "调整长度" else "显示长度"
|
|
|
- ShowWidth -> if (state.editMode) "调整宽度" else "显示宽度"
|
|
|
- SwitchEdit -> if (state.editMode) "保存" else "调整"
|
|
|
+ ShowLength -> if (state.editMode) "调整中线" else "显示中线"
|
|
|
+ ShowWidth -> if (state.editMode) "调整宽线" else "显示宽线"
|
|
|
+ SwitchEdit -> if (state.editMode) "保存" else "编辑"
|
|
|
}
|
|
|
|
|
|
Button(
|