Skip to content

Commit

Permalink
Allow locale to be mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
computerquip-streamlabs committed May 9, 2018
1 parent e5278eb commit bcdb51a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export interface IGlobal {
readonly totalFrames: number;
readonly laggedFrames: number;
readonly initialized: boolean;
readonly locale: string;
locale: string;
readonly version: number;
}
export interface IBooleanProperty extends IProperty {
Expand Down
1 change: 0 additions & 1 deletion js/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ function createSources(sources) {
const ObsFilter = obs.Filter.create(filter.type, filter.name, filter.settings);
ObsFilter.enabled = (filter.enabled != null) ? filter.enabled : true;
newSource.addFilter(ObsFilter);
ObsFilter.release();
});
}
});
Expand Down
2 changes: 1 addition & 1 deletion js/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export interface IGlobal {
/**
* Current locale of current libobs context
*/
readonly locale: string;
locale: string;

/**
* Version of current libobs context.
Expand Down

0 comments on commit bcdb51a

Please sign in to comment.