Skip to content

Commit

Permalink
Merge pull request #1057 from ecomfe/release-dev
Browse files Browse the repository at this point in the history
fix: silent should not be depend on ignoreClip
  • Loading branch information
Ovilia authored Jan 25, 2024
2 parents 477b8a2 + 0c06ffb commit a906563
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ZRender

A lightweight graphic library which provides 2d draw for [Apache ECharts](https://github.com/apache/echarts).

[![Build Status](https://travis-ci.com/ecomfe/zrender.svg?branch=master)](https://travis-ci.com/ecomfe/zrender) [![](https://img.shields.io/npm/dw/zrender.svg?label=npm%20downloads&style=flat)](https://www.npmjs.com/package/zrender) ![Commits Since 4.0.0](https://img.shields.io/github/commits-since/ecomfe/zrender/4.0.0.svg?colorB=%234c1&style=flat)
[![](https://img.shields.io/github/actions/workflow/status/ecomfe/zrender/ci.yml)]() [![](https://img.shields.io/npm/dw/zrender.svg?label=npm%20downloads&style=flat)](https://www.npmjs.com/package/zrender) ![Commits Since 4.0.0](https://img.shields.io/github/commits-since/ecomfe/zrender/4.0.0.svg?colorB=%234c1&style=flat)

## Documentation

Expand Down
6 changes: 3 additions & 3 deletions src/Handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,9 @@ function isHover(displayable: Displayable, x: number, y: number) {
if (clipPath && !clipPath.contain(x, y)) {
return false;
}
if (el.silent) {
isSilent = true;
}
}
if (el.silent) {
isSilent = true;
}
// Consider when el is textContent, also need to be silent
// if any of its host el and its ancestors is silent.
Expand Down

0 comments on commit a906563

Please sign in to comment.