Skip to content

Commit

Permalink
fixed issue that last image is never shown in image8 widget
Browse files Browse the repository at this point in the history
- closes #376
  • Loading branch information
foxriver76 committed Feb 20, 2024
1 parent 9286b98 commit 27fb7b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ E.g., if it was used in a menu and the menu is red, the circle would be red.
### **WORK IN PROGRESS**
-->
## Changelog
### **WORK IN PROGRESS**
* (foxriver76) fixed issue that last image is never shown in image8 widget

### 2.9.32 (2024-02-16)
* (foxriver76) implemented buttons to show or hide all views in views manager
* (foxriver76) fixed issue with signals on RxWidgets
Expand Down
2 changes: 1 addition & 1 deletion src/src/Vis/Widgets/Basic/BasicImage8.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class BasicImage8 extends VisRxWidget<RxData> {

const srcArr: string[] = [];

for (let i = 0; i < this.state.rxData.count; i++) {
for (let i = 0; i <= this.state.rxData.count; i++) {
// @ts-expect-error check this
if (this.state.rxData[`src_${i}`]) {
// @ts-expect-error check this
Expand Down

0 comments on commit 27fb7b2

Please sign in to comment.