浏览代码

trace fix

/main
xingwei.zhu 6 年前
当前提交
11863c4a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      Runtime/gestures/mouse_tracking.cs
  2. 2
      Runtime/rendering/proxy_box.cs

2
Runtime/gestures/mouse_tracking.cs


_TrackedAnnotation _findAnnotation(MouseTrackerAnnotation annotation) {
if (!this._trackedAnnotations.TryGetValue(annotation, out var trackedAnnotation)) {
D.assert(false, "Unable to find annotation $annotation in tracked annotations. " +
D.assert(false, () => "Unable to find annotation $annotation in tracked annotations. " +
"Check that attachAnnotation has been called for all annotated layers.");
}

2
Runtime/rendering/proxy_box.cs


D.assert(this._onPointerEnter != this._hoverAnnotation.onEnter ||
this._onPointerHover != this._hoverAnnotation.onHover ||
this._onPointerExit != this._hoverAnnotation.onExit,
"Shouldn't call _updateAnnotations if nothing has changed.");
() => "Shouldn't call _updateAnnotations if nothing has changed.");
if (this._hoverAnnotation != null && this.attached) {
RendererBinding.instance.mouseTracker.detachAnnotation(this._hoverAnnotation);

正在加载...
取消
保存