mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: full screen table
This commit is contained in:
1 parent
9b97d3e27d
commit
7c18549c00
3 files changed
+5
-9
No files matched your search
@@ -1,10 +1,7 @@
|
||||
import { asset } from '@blitzkit/core';
|
||||
import { asset } from "@blitzkit/core";
|
||||
|
||||
export const BLITZKIT_TANK_ICON_SIZE = { width: 40 * 16, height: 30 * 16 };
|
||||
|
||||
export function tankIcon(
|
||||
id: number,
|
||||
size: 'big' | 'small' | 'blitzkit' = 'blitzkit',
|
||||
) {
|
||||
export function tankIcon(id: number, size: "big" | "small" = "big") {
|
||||
return asset(`icons/tanks/${size}/${id}.webp`);
|
||||
}
|
||||
Reference in new issue
Block a user