eclipsesource / eclipsesource/tabris-js

Align GC behavior on `init` calls on all platforms

Open
#1,736 5 comments 0 reactions 3 assignees Claimed by @karolszafranski View on GitHub
js
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### Problem description

You can call `init` on `GC` instance multiple times. We have to align what should happen if you call it for the second time with different dimensions or without any parameters at all.

Currently, iOS uses `0` for the dimension which is undefined and all drawings are removed on each `init` call.

### Expected behavior

We expect that all platforms are consistent :-)

### Environment

- Tabris.js version: 3.0.0-beta
- Device: any
- OS: any

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.