Skip to content

Commit

Permalink
Merge pull request #174 from pie-framework/PD-3989
Browse files Browse the repository at this point in the history
fix: temporary remove usage of math-rendering-accessible PD-3989
  • Loading branch information
andreeapescar authored Aug 26, 2024
2 parents 7ec264b + bd468aa commit ae8e297
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/components/pie-author/pie-author.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import {
ModelUpdatedEvent
} from "@pie-framework/pie-configure-events";

import {_dll_pie_lib__pie_toolbox_math_rendering_accessible} from "@pie-lib/pie-toolbox-math-rendering-module/module";
import {
_dll_pie_lib__pie_toolbox_math_rendering,
// _dll_pie_lib__pie_toolbox_math_rendering_accessible
} from "@pie-lib/pie-toolbox-math-rendering-module/module";
import {Component, Element, Event, EventEmitter, h, Method, Prop, State, Watch} from "@stencil/core";
import cloneDeep from "lodash/cloneDeep";
import _isEmpty from "lodash/isEmpty";
Expand Down Expand Up @@ -738,7 +741,8 @@ export class Author {

private renderMath() {
setTimeout(() => {
_dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el);
_dll_pie_lib__pie_toolbox_math_rendering.renderMath(this.el);
// _dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el);
}, 50);
}

Expand Down
6 changes: 4 additions & 2 deletions src/components/pie-player/pie-player.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {SessionChangedEvent} from "@pie-framework/pie-player-events";
import {
_dll_pie_lib__pie_toolbox_math_rendering_accessible
_dll_pie_lib__pie_toolbox_math_rendering,
// _dll_pie_lib__pie_toolbox_math_rendering_accessible
} from "@pie-lib/pie-toolbox-math-rendering-module/module";
import {
Component,
Expand Down Expand Up @@ -397,7 +398,8 @@ export class Player {

private renderMath() {
setTimeout(() => {
_dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el);
_dll_pie_lib__pie_toolbox_math_rendering.renderMath(this.el);
// _dll_pie_lib__pie_toolbox_math_rendering_accessible.renderMath(this.el);
}, 50);
}

Expand Down

0 comments on commit ae8e297

Please sign in to comment.