forked from extern/easydiffusion
Press Ctrl+Enter to start a task
This commit is contained in:
parent
058ce6fe82
commit
0da6354825
@ -19,7 +19,7 @@
|
||||
<div id="container">
|
||||
<div id="top-nav">
|
||||
<div id="logo">
|
||||
<h1>Stable Diffusion UI <small>v2.3.12 <span id="updateBranchLabel"></span></small></h1>
|
||||
<h1>Stable Diffusion UI <small>v2.3.13 <span id="updateBranchLabel"></span></small></h1>
|
||||
</div>
|
||||
<div id="server-status">
|
||||
<div id="server-status-color">●</div>
|
||||
|
@ -1082,6 +1082,12 @@ useUpscalingField.addEventListener('change', function(e) {
|
||||
|
||||
makeImageBtn.addEventListener('click', makeImage)
|
||||
|
||||
document.onkeydown = function(e) {
|
||||
if (e.ctrlKey && e.code === 'Enter') {
|
||||
makeImage()
|
||||
e.preventDefault()
|
||||
}
|
||||
}
|
||||
|
||||
function updateGuidanceScale() {
|
||||
guidanceScaleField.value = guidanceScaleSlider.value / 10
|
||||
|
Loading…
Reference in New Issue
Block a user