Compare commits
3 commits
7d178278c5
...
3a37d136ec
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a37d136ec | |||
| ad7e833519 | |||
| 0d211dede3 |
4 changed files with 14 additions and 8 deletions
|
|
@ -2275,6 +2275,11 @@ Scrollbars
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-width: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
================================================================================
|
================================================================================
|
||||||
SourceViewer
|
SourceViewer
|
||||||
|
|
|
||||||
|
|
@ -1188,6 +1188,10 @@ Scrollbars
|
||||||
background: -webkit-linear-gradient(left, $buttonActiveGradient);
|
background: -webkit-linear-gradient(left, $buttonActiveGradient);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.$themeClass {
|
||||||
|
scrollbar-color: $bodyBorder $bodyBackground;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
================================================================================
|
================================================================================
|
||||||
SourceViewer
|
SourceViewer
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ Ox.SCROLLBAR_SIZE = Ox.UI.SCROLLBAR_SIZE = $.browser.webkit ? 8 : (function() {
|
||||||
width = 1 + width - (inner[0].offsetWidth == width
|
width = 1 + width - (inner[0].offsetWidth == width
|
||||||
? outer[0].clientWidth : inner[0].offsetWidth);
|
? outer[0].clientWidth : inner[0].offsetWidth);
|
||||||
outer.remove();
|
outer.remove();
|
||||||
return width;
|
return width + width % 2;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
//@ Ox.UI.PATH <str> Path of Ox UI
|
//@ Ox.UI.PATH <str> Path of Ox UI
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ Ox.VideoAnnotationPanel <f> VideoAnnotationPanel Object
|
||||||
downloadframe <!> downloadframe
|
downloadframe <!> downloadframe
|
||||||
downloadvideo <!> downloadvideo
|
downloadvideo <!> downloadvideo
|
||||||
editannotation <!> editannotation
|
editannotation <!> editannotation
|
||||||
editannotation <!> editannotation
|
|
||||||
embedselection <!> embedselection
|
embedselection <!> embedselection
|
||||||
findannotations <!> findannotations
|
findannotations <!> findannotations
|
||||||
find <!> find
|
find <!> find
|
||||||
|
|
@ -1720,17 +1719,15 @@ Ox.VideoAnnotationPanel = function(options, self) {
|
||||||
// id might have changed if new annotation was created
|
// id might have changed if new annotation was created
|
||||||
if (annotation.id) {
|
if (annotation.id) {
|
||||||
self.options.selected = annotation.id;
|
self.options.selected = annotation.id;
|
||||||
var layer = Ox.getObjectById(self.options.layers, annotation.layer);
|
|
||||||
var item = Ox.getObjectById(layer.items, annotation.id);
|
|
||||||
if (!item) {
|
|
||||||
layer.items.push(annotation);
|
|
||||||
self.annotations = getAnnotations();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (getSelectedLayer() == self.options.subtitlesLayer) {
|
if (getSelectedLayer() == self.options.subtitlesLayer) {
|
||||||
updateSubtitles();
|
updateSubtitles();
|
||||||
}
|
}
|
||||||
self.$annotationPanel.updateItem(id, annotation);
|
self.$annotationPanel.updateItem(id, annotation);
|
||||||
|
if (id != annotation.id) {
|
||||||
|
self.annotations = getAnnotations();
|
||||||
|
setTimelineState();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue