mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
b26cb077e3
* WPF - Popup Mouse Transform - Refactor and performance improvements - WPF Example - Enable popup transform by default Issue #2820
22 lines
568 B
C#
22 lines
568 B
C#
using CefSharp.Structs;
|
|
|
|
namespace CefSharp.Wpf.Internals
|
|
{
|
|
public sealed class NoOpMousePositionTransform : IMousePositionTransform
|
|
{
|
|
System.Windows.Point IMousePositionTransform.UpdatePopupSizeAndPosition(Rect originalRect, Rect viewRect)
|
|
{
|
|
return new System.Windows.Point(originalRect.X, originalRect.Y);
|
|
}
|
|
|
|
void IMousePositionTransform.OnPopupShow(bool isOpen)
|
|
{
|
|
}
|
|
|
|
void IMousePositionTransform.TransformMousePoint(ref System.Windows.Point point)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|