|
@@ -48,12 +48,16 @@ const convertBaseStyle = (dest, origin) => {
|
|
|
if (origin && origin.titleDisplayMode == "hover") {
|
|
|
dest.visible = 2
|
|
|
}
|
|
|
+ if ('visible' in origin && typeof origin.visible == "boolean") {
|
|
|
+ dest.visible = origin.visible ? 0 : 1
|
|
|
+ dest.style.position = "top"
|
|
|
+ }
|
|
|
dest.style.borderColor = '';
|
|
|
dest.style.fillColor = 'rgba(0,0,0,0.8)';
|
|
|
dest.style.textColor = 'rgba(255,255,255,1)';
|
|
|
}
|
|
|
- //custom
|
|
|
- if (origin && origin.hotspotIconType === 'serial_frame') {
|
|
|
+ //custom
|
|
|
+ if (origin && origin.hotspotIconType === 'serial_frame') {
|
|
|
dest.style.duration = origin.serialFrameInfo.duration
|
|
|
dest.style.frameNumber = origin.serialFrameInfo.frameNumber
|
|
|
dest.style.frameWidth = origin.serialFrameInfo.frameWidth
|