Make transparency visible when editing, and reset background color to white when done.
This commit is contained in:
parent
efd5bae561
commit
b65d9acc9d
@ -111,6 +111,9 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {
|
|||||||
#captchaContainerAlt td:nth-child(2) {
|
#captchaContainerAlt td:nth-child(2) {
|
||||||
display: table-cell !important;
|
display: table-cell !important;
|
||||||
}
|
}
|
||||||
|
#tegaki-canvas {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
/* Disable obnoxious captcha fade-in. */
|
/* Disable obnoxious captcha fade-in. */
|
||||||
body > div:last-of-type {
|
body > div:last-of-type {
|
||||||
transition: none !important;
|
transition: none !important;
|
||||||
|
|||||||
@ -85,6 +85,7 @@ QR.oekaki =
|
|||||||
onCancel: ->
|
onCancel: ->
|
||||||
width: +document.querySelector('#qr [name=oekaki-width]').value
|
width: +document.querySelector('#qr [name=oekaki-width]').value
|
||||||
height: +document.querySelector('#qr [name=oekaki-height]').value
|
height: +document.querySelector('#qr [name=oekaki-height]').value
|
||||||
|
bgColor: '#ffffff'
|
||||||
|
|
||||||
button: ->
|
button: ->
|
||||||
if QR.selected.file
|
if QR.selected.file
|
||||||
@ -113,7 +114,7 @@ QR.oekaki =
|
|||||||
FCX.oekakiName = name
|
FCX.oekakiName = name
|
||||||
Tegaki.open
|
Tegaki.open
|
||||||
onDone: FCX.oekakiCB
|
onDone: FCX.oekakiCB
|
||||||
onCancel: ->
|
onCancel: -> Tegaki.bgColor = '#ffffff'
|
||||||
width: file.naturalWidth or file.videoWidth
|
width: file.naturalWidth or file.videoWidth
|
||||||
height: file.naturalHeight or file.videoHeight
|
height: file.naturalHeight or file.videoHeight
|
||||||
bgColor: 'transparent'
|
bgColor: 'transparent'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user