Skip to content

Commit

Permalink
fix(client): textlabel constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger committed Nov 22, 2023
1 parent 0c09c60 commit ad889dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/bindings/TextLabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static void Constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
V8_ARG_TO_UINT_OPT(11, streamingDistance, 0);

auto textLabel =
alt::ICore::Instance().CreateTextLabel(resource->GetResource(), text, fontName, fontSize, scale, pos, rot, color, outlineWidth, outlineColor, useStreaming, streamingDistance, resource->GetResource());
alt::ICore::Instance().CreateTextLabel(text, fontName, fontSize, scale, pos, rot, color, outlineWidth, outlineColor, useStreaming, streamingDistance, resource->GetResource());
V8_BIND_BASE_OBJECT(textLabel, "Failed to create textlabel");
}

Expand Down
2 changes: 1 addition & 1 deletion shared/deps/cpp-sdk
Submodule cpp-sdk updated 1 files
+1 −1 ICore.h

0 comments on commit ad889dd

Please sign in to comment.