Skip to content

Commit

Permalink
Simplified options.
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertkozik committed Feb 20, 2024
1 parent 7c7bcd3 commit b848e77
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ts/Core/Series/Point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const {
isFunction,
isNumber,
isObject,
merge,
pick,
syncTimeout,
removeEvent,
Expand Down Expand Up @@ -1300,10 +1299,7 @@ class Point {
*/
public manageEvent(eventType: string): void {
const point = this,
options = merge(
point.series.options.point as PointOptions,
point.options
),
options = point.series.options.point || {},
userEvent =
options.events?.[eventType as keyof typeof options.events];

Expand Down

0 comments on commit b848e77

Please sign in to comment.