mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
resize tab
This commit is contained in:
1 parent
d6b56a2f35
commit
b17bda9a55
2 files changed
+13
-1
No files matched your search
@@ -278,4 +278,13 @@ class MultipleSessions: Reactor.Component {
|
||||
handler.set_option('show-sessions-type', el.id || "");
|
||||
this.stupidUpdate();
|
||||
}
|
||||
|
||||
function onSize() {
|
||||
var w = this.$(.sessions-bar).box(#width) - 220;
|
||||
this.$(#sessions-type span).style.set{
|
||||
"max-width": (w / 2) + "px",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
view.on("size", function() { app.multipleSessions.onSize(); });
|
||||
Reference in new issue
Block a user