Skip to content

Commit d8acc41

Browse files
committed
fix: emiting initialize event from label space props
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent a7b6eda commit d8acc41

File tree

4 files changed

+8
-0
lines changed
  • lib/node_modules/@stdlib/plot/unicode/base/lib/props

4 files changed

+8
-0
lines changed

lib/node_modules/@stdlib/plot/unicode/base/lib/props/w-tics-label-space/set.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ function set( value ) {
4343
if ( this._axisDataObjs[ 3 ].ticsLabelSpace !== value ) {
4444
this._axisDataObjs[ 3 ].ticsLabelSpace = value;
4545
if ( !this._quite ) {
46+
// Change in label space cause the change in matrices
47+
this.emit( 'initialize' );
4648
this.emit( 'change' );
4749
}
4850
}

lib/node_modules/@stdlib/plot/unicode/base/lib/props/x-tics-label-space/set.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ function set( value ) {
4343
if ( this._axisDataObjs[ 0 ].ticsLableSpace !== value ) {
4444
this._axisDataObjs[ 0 ].ticsLableSpace = value;
4545
if ( !this._quite ) {
46+
// Change in label space cause the change in matrices
47+
this.emit( 'initialize' );
4648
this.emit( 'change' );
4749
}
4850
}

lib/node_modules/@stdlib/plot/unicode/base/lib/props/y-tics-label-space/set.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ function set( value ) {
4343
if ( this._axisDataObjs[ 1 ].ticsLableSpace !== value ) {
4444
this._axisDataObjs[ 1 ].ticsLableSpace = value;
4545
if ( !this._quite ) {
46+
// Change in label space cause the change in matrices
47+
this.emit( 'initialize' );
4648
this.emit( 'change' );
4749
}
4850
}

lib/node_modules/@stdlib/plot/unicode/base/lib/props/z-tics-label-space/set.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ function set( value ) {
4343
if ( this._axisDataObjs[ 2 ].ticsLabelSpace !== value ) {
4444
this._axisDataObjs[ 2 ].ticsLabelSpace = value;
4545
if ( !this._quite ) {
46+
// Change in label space cause the change in matrices
47+
this.emit( 'initialize' );
4648
this.emit( 'change' );
4749
}
4850
}

0 commit comments

Comments
 (0)