Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
leanmendoza committed Dec 3, 2024
1 parent efb824c commit 829f657
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/@dcl/react-ecs/src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export function Button(props: UiButtonProps) {
<entity
onMouseDown={!!props.disabled ? undefined : onMouseDown}
onMouseUp={!!props.disabled ? undefined : onMouseUp}
onMouseEnter={!!props.disabled ? undefined : onMouseEnter}
onMouseLeave={!!props.disabled ? undefined : onMouseLeave}
onMouseEnter={onMouseEnter}
onMouseLeave={onMouseLeave}
uiTransform={uiTransformProps}
uiText={textProps}
uiBackground={uiBackgroundProps}
Expand Down
14 changes: 7 additions & 7 deletions test/snapshots/production-bundles/ui.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=351.3k bytes
SCENE_COMPILED_JS_SIZE_PROD=352.5k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/ui.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 65k
MALLOC_COUNT = 19449
MALLOC_COUNT = 19477
ALIVE_OBJS_DELTA ~= 3.87k
CALL onStart()
OPCODES ~= 0k
Expand Down Expand Up @@ -47,22 +47,22 @@ CALL onUpdate(0)
Scene: PUT_COMPONENT e=0x202 c=1093 t=1 data={"placeholder":"SARASA","disabled":false}
Scene: PUT_COMPONENT e=0x209 c=1093 t=1 data={"placeholder":"","disabled":false}
Scene: PUT_COMPONENT e=0x201 c=1094 t=1 data={"acceptEmpty":false,"options":["BOEDO","CASLA"],"selectedIndex":0,"disabled":false,"color":{"r":1,"g":0,"b":0,"a":1}}
OPCODES ~= 131k
OPCODES ~= 133k
MALLOC_COUNT = 678
ALIVE_OBJS_DELTA ~= 0.24k
CALL onUpdate(0.1)
Scene: PUT_COMPONENT e=0x200 c=1 t=2 data={"position":{"x":8,"y":1,"z":8},"rotation":{"x":0,"y":0.008726535364985466,"z":0,"w":0.9999619126319885},"scale":{"x":1,"y":1,"z":1},"parent":0}
OPCODES ~= 65k
OPCODES ~= 66k
MALLOC_COUNT = 250
ALIVE_OBJS_DELTA ~= 0.12k
CALL onUpdate(0.1)
Scene: PUT_COMPONENT e=0x200 c=1 t=3 data={"position":{"x":8,"y":1,"z":8},"rotation":{"x":0,"y":0.017452405765652657,"z":0,"w":0.9998477101325989},"scale":{"x":1,"y":1,"z":1},"parent":0}
OPCODES ~= 63k
OPCODES ~= 64k
MALLOC_COUNT = 34
ALIVE_OBJS_DELTA ~= 0.02k
CALL onUpdate(0.1)
Scene: PUT_COMPONENT e=0x200 c=1 t=4 data={"position":{"x":8,"y":1,"z":8},"rotation":{"x":0,"y":0.026176948100328445,"z":0,"w":0.9996573328971863},"scale":{"x":1,"y":1,"z":1},"parent":0}
OPCODES ~= 63k
OPCODES ~= 64k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1687.14k bytes
MEMORY_USAGE_COUNT ~= 1692.12k bytes

0 comments on commit 829f657

Please sign in to comment.