fixed stream window centering

This commit is contained in:
Devaev Maxim
2018-08-13 08:36:52 +03:00
parent b79b7e3975
commit 8bd515b18d
3 changed files with 13 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
function Stream() {
function Stream(ui) {
// var self = this;
/********************************************************************************/
@@ -69,6 +69,7 @@ function Stream() {
var el_stream_image = $("stream-image");
el_stream_image.style.width = __normal_size.width * __size_factor + "px";
el_stream_image.style.height = __normal_size.height * __size_factor + "px";
ui.showWindow($("stream-window"));
};
var __refreshImage = function() {