Skip to content

Commit

Permalink
make it possible to click through signal image if in front of widget
Browse files Browse the repository at this point in the history
-closes #375
  • Loading branch information
foxriver76 committed Feb 21, 2024
1 parent 4fa0495 commit 1ae56a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ E.g., if it was used in a menu and the menu is red, the circle would be red.
## Changelog
### **WORK IN PROGRESS**
* (foxriver76) fixed issue that last image is never shown in image8 widget
* (foxriver76) make it possible to click through signal image if in front of widget

### 2.9.32 (2024-02-16)
* (foxriver76) implemented buttons to show or hide all views in views manager
Expand Down
2 changes: 2 additions & 0 deletions src/src/Vis/visRxWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,8 @@ class VisRxWidget<TRxData extends Record<string, any>> extends VisBaseWidget {
left: `${parseInt(this.state.rxData[`signals-horz-${index}`], 10) || 0}%`,
zIndex: 10,
textAlign: 'center',
// make it possible to click through signal if in front of widget
pointerEvents: 'none',
};
if (icon) {
const imageStyle = {
Expand Down

0 comments on commit 1ae56a3

Please sign in to comment.