Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it possible to click through signal image if in front of widget #378

Merged
merged 4 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading