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) {
|
||||
display: table-cell !important;
|
||||
}
|
||||
#tegaki-canvas {
|
||||
background: none;
|
||||
}
|
||||
/* Disable obnoxious captcha fade-in. */
|
||||
body > div:last-of-type {
|
||||
transition: none !important;
|
||||
|
||||
@ -85,6 +85,7 @@ QR.oekaki =
|
||||
onCancel: ->
|
||||
width: +document.querySelector('#qr [name=oekaki-width]').value
|
||||
height: +document.querySelector('#qr [name=oekaki-height]').value
|
||||
bgColor: '#ffffff'
|
||||
|
||||
button: ->
|
||||
if QR.selected.file
|
||||
@ -113,7 +114,7 @@ QR.oekaki =
|
||||
FCX.oekakiName = name
|
||||
Tegaki.open
|
||||
onDone: FCX.oekakiCB
|
||||
onCancel: ->
|
||||
onCancel: -> Tegaki.bgColor = '#ffffff'
|
||||
width: file.naturalWidth or file.videoWidth
|
||||
height: file.naturalHeight or file.videoHeight
|
||||
bgColor: 'transparent'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user