Update plymouth theme to support smaller displays
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
@@ -18,6 +18,14 @@ outline.image = Image("outline.png");
|
|||||||
fade.image = Image("kali-logo-fade.png");
|
fade.image = Image("kali-logo-fade.png");
|
||||||
passwordDot.image = Image("password-dot.png");
|
passwordDot.image = Image("password-dot.png");
|
||||||
|
|
||||||
|
if (Window.GetHeight() < 800) {
|
||||||
|
container.image = Image("kali-logo-container_small.png");
|
||||||
|
logo.image = Image("kali-logo_small.png");
|
||||||
|
outline.image = Image("outline_small.png");
|
||||||
|
fade.image = Image("kali-logo-fade_small.png");
|
||||||
|
passwordDot.image = Image("password-dot_small.png");
|
||||||
|
}
|
||||||
|
|
||||||
// Kali logo can't be aligned by its natural center but by the circle center
|
// Kali logo can't be aligned by its natural center but by the circle center
|
||||||
// formed inside its body curve. This can be easily calculated by the offset
|
// formed inside its body curve. This can be easily calculated by the offset
|
||||||
// ratio defined before.
|
// ratio defined before.
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 531 B |
Binary file not shown.
|
After Width: | Height: | Size: 716 B |
Reference in New Issue
Block a user