Skip to content

Commit

Permalink
fix: inherit not able to style
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Sep 18, 2023
1 parent 4cbc9ae commit beb9208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export class Style {
}

Inherit(style: Style) {
symbols.Inherit(this.#handle, ptr(encode(style.#handle)));
symbols.Inherit(this.#handle, style.#handle);
return this;
}

Expand Down

0 comments on commit beb9208

Please sign in to comment.