차트 마우스 스크롤 확대 축소 기능
This commit is contained in:
@@ -417,7 +417,8 @@ export class ChartManager {
|
|||||||
// pressedMouseMove: TradingChart 에서 커스텀 패닝 처리 (드로잉·클릭과 충돌 방지)
|
// pressedMouseMove: TradingChart 에서 커스텀 패닝 처리 (드로잉·클릭과 충돌 방지)
|
||||||
// horzTouchDrag: 보조 pane 터치 드래그가 메인 timeScale 과 어긋나는 현상 방지 — TradingChart 커스텀 패닝만 사용
|
// horzTouchDrag: 보조 pane 터치 드래그가 메인 timeScale 과 어긋나는 현상 방지 — TradingChart 커스텀 패닝만 사용
|
||||||
handleScroll: { mouseWheel: true, pressedMouseMove: false, horzTouchDrag: false, vertTouchDrag: false },
|
handleScroll: { mouseWheel: true, pressedMouseMove: false, horzTouchDrag: false, vertTouchDrag: false },
|
||||||
handleScale: { axisPressedMouseMove: true, axisDoubleClickReset: true, mouseWheel: false, pinch: true },
|
// mouseWheel: 플롯·시간축 휠 좌우 줌. 우측 가격축 라벨은 TradingChart wheel capture 에서 preventDefault 후 세로 줌.
|
||||||
|
handleScale: { axisPressedMouseMove: true, axisDoubleClickReset: true, mouseWheel: true, pinch: true },
|
||||||
});
|
});
|
||||||
|
|
||||||
this._applyDisplayTimezoneOptions();
|
this._applyDisplayTimezoneOptions();
|
||||||
|
|||||||
Reference in New Issue
Block a user