rename function grid to gird and fix image not show all properties
This commit is contained in:
parent
af3c42f7e8
commit
8850928388
3 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "asajs",
|
||||
"version": "4.1.3",
|
||||
"version": "4.1.5",
|
||||
"description": "Create your Minecraft JSON-UI resource packs using JavaScript",
|
||||
"keywords": [
|
||||
"Minecraft",
|
||||
|
|
|
|||
|
|
@ -305,7 +305,7 @@ export function InputPanel(properties?: InputPanel, namespace?: string, name?: s
|
|||
return new UI(Type.INPUT_PANEL, name, namespace, undefined, allowObfuscate).setProperties(properties || {})
|
||||
}
|
||||
|
||||
export function Gird(properties?: Grid, namespace?: string, name?: string, allowObfuscate?: boolean) {
|
||||
export function Grid(properties?: Grid, namespace?: string, name?: string, allowObfuscate?: boolean) {
|
||||
return new UI(Type.GRID, name, namespace, undefined, allowObfuscate).setProperties(properties || {})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { Value } from "../value.js"
|
||||
import { Sprite } from "./Sprite.js"
|
||||
|
||||
export interface Image {
|
||||
export interface Image extends Sprite {
|
||||
fill?: Value<boolean>
|
||||
texture_path?: Value<string>
|
||||
texture?: Value<string>
|
||||
|
|
|
|||
Reference in a new issue