@pipsend/charts 2.3.11 → 2.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @license
3
- * Pipsend Charts v2.3.11
3
+ * Pipsend Charts v2.3.12
4
4
  * Copyright (c) 2026 Pipsend
5
5
  * Licensed under MIT License
6
6
  * Built on TradingView Lightweight Charts™ (Apache 2.0)
@@ -19309,6 +19309,12 @@ function setVolumeProfileData(indicator, data) {
19309
19309
  }
19310
19310
 
19311
19311
  const CLICK_TOLERANCE_PX = 4;
19312
+ /**
19313
+ * A fingertip never holds still: every tap travels further than a pointer
19314
+ * does, and judging it by the mouse's few pixels turned each one into a tiny
19315
+ * drag, so the tap never arrived.
19316
+ */
19317
+ const TOUCH_CLICK_TOLERANCE_PX = 12;
19312
19318
  /**
19313
19319
  * Single input owner for every trading line on a chart.
19314
19320
  *
@@ -19449,9 +19455,10 @@ class TradingLineController {
19449
19455
  this._private__releasePointer();
19450
19456
  this._private__pressedLine = null;
19451
19457
  this._private__pressOrigin = null;
19458
+ const tolerance = wasTouch ? TOUCH_CLICK_TOLERANCE_PX : CLICK_TOLERANCE_PX;
19452
19459
  const moved = origin !== null &&
19453
- (Math.abs(event.clientX - origin._internal_x) > CLICK_TOLERANCE_PX ||
19454
- Math.abs(event.clientY - origin._internal_y) > CLICK_TOLERANCE_PX);
19460
+ (Math.abs(event.clientX - origin._internal_x) > tolerance ||
19461
+ Math.abs(event.clientY - origin._internal_y) > tolerance);
19455
19462
  if (dragged !== null) {
19456
19463
  this._private__dragging = null;
19457
19464
  this._private__grabOffset = 0;
@@ -30736,7 +30743,7 @@ const customSeriesDefaultOptions = {
30736
30743
  * Returns the current version as a string. For example `'1.0.0'`.
30737
30744
  */
30738
30745
  function version() {
30739
- return "2.3.11";
30746
+ return "2.3.12";
30740
30747
  }
30741
30748
 
30742
30749
  export { areaSeries as AreaSeries, ArrowTool, barSeries as BarSeries, baselineSeries as BaselineSeries, BrushTool, candlestickSeries as CandlestickSeries, CircleTool, ColorType, CrossLineTool, CrosshairMode, DEFAULT_SESSIONS, DraggablePriceLine, DrawingToolsManager, EXTENDED_FIBONACCI_RATIOS, FibonacciCalculator, FibonacciExtensionTool, FibonacciFanTool, FibonacciTool, GanttTool, histogramSeries as HistogramSeries, HorizontalLineTool, InteractiveLineManager, LastPriceAnimationMode, lineSeries as LineSeries, LineStyle, LineType, MismatchDirection, ParallelChannelTool, PitchforkTool, PolygonTool, PositionCalculator, PositionLine, PositionMarkersManager, PositionTool, PriceLineSource, PriceScaleMode, RectangleTool, RulerCalculator, RulerTool, STANDARD_FIBONACCI_RATIOS, TextTool, TickMarkType, TrackingModeExitMode, TradingSessionsIndicator, TrendLineTool, VerticalLineTool, VolumeProfileIndicator, applyADX, applyATR, applyBollingerBands, applyCCI, applyDonchianChannels, applyEMA, applyHeikinAshi, applyIchimoku, applyKeltnerChannels, applyMACD, applyMFI, applyOBV, applyParabolicSAR, applyPivotPoints, applyRSI, applySMA, applyStochastic, applySuperTrend, applyVWAP, applyVolume, applyWMA, applyWilliamsR, calculateHeikinAshi, calculatePipConfig, coordinateFromTime, createArrowTool, createBrushTool, createChart, createChartEx, createCircleTool, createCrossLineTool, createFibonacciExtensionTool, createFibonacciFanTool, createFibonacciTool, createGanttTool, createHorizontalLineTool, createImageWatermark, createInteractiveLineManager, createOptionsChart, createParallelChannelTool, createPitchforkTool, createPolygonTool, createPositionLine, createPositionMarkers, createPositionTool, createRectangleTool, createRulerTool, createSeriesMarkers, createTextTool, createTextWatermark, createTradingLine, createTradingSessionsIndicator, createTrendLineTool, createUpDownMarkers, createVerticalLineTool, createVolumeProfileIndicator, createYieldCurveChart, customSeriesDefaultOptions, defaultHorzScaleBehavior, getPipConfig, hideSeriesPaint, isBusinessDay, isUTCTimestamp, setSeriesVolumes, setVolumeProfileData, timeFromCoordinate, version };