mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-26 03:24:03 +01:00
fix: inline text edit button use onMouseDown (#579)
This commit is contained in:
parent
7c63e24525
commit
2b0b206614
@ -131,7 +131,7 @@ class InlineSettingsTextEdit extends React.Component<
|
||||
</div>
|
||||
<div className="control">
|
||||
<div
|
||||
onClick={this.cancelChange}
|
||||
onMouseDown={this.cancelChange}
|
||||
title="Cancel (Esc)"
|
||||
className="button is-prompt-danger is-outlined is-small"
|
||||
>
|
||||
@ -142,7 +142,7 @@ class InlineSettingsTextEdit extends React.Component<
|
||||
</div>
|
||||
<div className="control">
|
||||
<div
|
||||
onClick={this.confirmChange}
|
||||
onMouseDown={this.confirmChange}
|
||||
title="Confirm (Enter)"
|
||||
className="button is-wave-green is-outlined is-small"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user