252 |
253 | {
255 | this.setState((prevState) => {
256 | prevState.config.showType = config.showType === "member" ? "export" : "member";
257 | this.showScaleEl.innerText = "100%";
258 | return prevState;
259 | })
260 | }}
261 | style={{ marginBottom: 16 }}
262 | key={config.showType}
263 | defaultChecked={config.showType === "export"}
264 | label="Only Export"
265 | />
266 |
267 |
268 |
271 | this.showScaleEl = showScaleEl}
273 | style={{
274 | margin: "0 8px",
275 | display: "inline-block",
276 | width: 60,
277 | textAlign: "center"
278 | }}
279 | >
280 | {Math.ceil(this.originTransform.scale * 100)}%
281 |
282 |
285 |
286 |