mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-03-11 17:15:49 +00:00
Format document
This commit is contained in:
parent
2dc3338b33
commit
52512f238d
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ pub struct SplashImage {
|
|||
|
||||
impl SplashImage {
|
||||
const BG_COLOR: [u8; 3] = [27, 17, 38];
|
||||
pub fn resize(&self, size:(u32, u32)) {
|
||||
pub fn resize(&self, size: (u32, u32)) {
|
||||
let (w, h) = size;
|
||||
let s = cmp::min(w, h);
|
||||
self.splash_frame.set_size(w, h);
|
||||
|
|
@ -29,4 +29,4 @@ impl SplashImage {
|
|||
pub fn hide(&self) {
|
||||
self.splash_frame.set_visible(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue