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

Cubism 4 SDK for Web R5 beta3 #42

Merged
merged 1 commit into from
Jun 16, 2022
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## [4-r.5-beta.3] - 2022-06-16

### Fixed

* Fix a problem in which ViewPort was sometimes not set correctly.

### Removed

* End support for Internet Explorer.


## [4-r.5-beta.2] - 2022-06-02

### Fixed
Expand Down Expand Up @@ -117,6 +128,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Fix issue with reloading model images in WebKit.


[4-r.5-beta.3]: https://github.com/Live2D/CubismWebSamples/compare/4-r.5-beta.2...4-r.5-beta.3
[4-r.5-beta.2]: https://github.com/Live2D/CubismWebSamples/compare/4-r.5-beta.1...4-r.5-beta.2
[4-r.5-beta.1]: https://github.com/Live2D/CubismWebSamples/compare/4-r.4...4-r.5-beta.1
[4-r.4]: https://github.com/Live2D/CubismWebSamples/compare/4-r.3...4-r.4
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ NOTE: デバック用の設定は、`.vscode/launch.json` に記述していま

| プラットフォーム | ブラウザ | バージョン |
| --- | --- | --- |
| Android | Google Chrome | 101.0.4951.61 |
| Android | Google Chrome | 102.0.5005.115 |
| Android | Microsoft Edge | 101.0.1210.47 |
| Android | Mozilla Firefox | 100.1.2 |
| iOS / iPadOS | Google Chrome | 101.0.4951.58 |
Expand All @@ -100,9 +100,8 @@ NOTE: デバック用の設定は、`.vscode/launch.json` に記述していま
| macOS | Google Chrome | 101.0.4951.64 |
| macOS | Microsoft Edge | 101.0.1210.47 |
| macOS | Mozilla Firefox | 100.0.1 |
| macOS | Safari | 15.4 |
| Windows | Google Chrome | 101.0.4951.67 |
| Windows | Internet Explorer 11 | 19044.1645 |
| macOS | Safari | 15.5 |
| Windows | Google Chrome | 102.0.5005.115 |
| Windows | Microsoft Edge | 101.0.1210.47 |
| Windows | Mozilla Firefox | 100.0 |

Expand Down
5 changes: 5 additions & 0 deletions Samples/TypeScript/Demo/src/lappdelegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ export class LAppDelegate {
this._resizeCanvas();
this._view.initialize();
this._view.initializeSprite();

// キャンバスサイズを渡す
const viewport: number[] = [0, 0, canvas.width, canvas.height];

gl.viewport(viewport[0], viewport[1], viewport[2], viewport[3]);
}

/**
Expand Down