Skip to content

Commit

Permalink
haxeui_expose_all flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Nov 13, 2023
1 parent 9f2ab02 commit 09a425d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions haxe/ui/macros/Macros.hx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ class Macros {

macro static function build():Array<Field> {
var builder = new ClassBuilder(Context.getBuildFields(), Context.getLocalType(), Context.currentPos());
#if haxeui_expose_all
builder.addMeta(":expose");
#end

#if macro_times_verbose
var stopComponentTimer = Context.timer(builder.fullPath);
#end
Expand Down

0 comments on commit 09a425d

Please sign in to comment.