fix(Entity): add `gears_shape_function` `type_fix`
This commit is contained in:
parent
6135594d7e
commit
96f433374b
|
@ -1,19 +1,20 @@
|
|||
local List = require "pl.List"
|
||||
local Map = require "pl.Map"
|
||||
|
||||
local gears_shape_function = "function(cr: any, width: integer, height: integer)"
|
||||
local type_fix <const> : Map<string, string> = Map({
|
||||
awesome = "awesome",
|
||||
Awesome = "awesome",
|
||||
bool = "boolean",
|
||||
client = "client",
|
||||
Client = "client",
|
||||
["gears.shape"] = "Shape",
|
||||
["gears.shape"] = gears_shape_function,
|
||||
["gears.surface"] = "Surface",
|
||||
image = "Image",
|
||||
int = "integer",
|
||||
screen = "screen",
|
||||
Screen = "screen",
|
||||
shape = "Shape",
|
||||
shape = gears_shape_function,
|
||||
surface = "Surface",
|
||||
tag = "tag",
|
||||
Tag = "tag",
|
||||
|
|
Loading…
Reference in New Issue