Слияние кода завершено, страница обновится автоматически
Return to the Change Log index.
ScaleManager.getViewPort
is a new method that will return a Rectangle geometry object that matches the visible area of the screen, or the given Camera instance (thanks @rexrainbow)ScaleManager.listeners
has been renamed to domlisteners
to avoid conflicting with the EventEmitter listeners object. Fix #6260 (thanks @x-wk)ScaleManager.getParentBounds
will now also check to see if the canvas bounds have changed x or y position, and if so return true
, causing the Scale Manager to refresh all of its internal cached values. This fixes an issue where the canvas may have changed position on the page, but not its width or height, so a refresh wasn't triggered. Fix #5884 (thanks @jameswilddev)scale.mode
in the Game Config would be ignored. It now accepts either this, or scaleMode
directly. Fix #5970 (thanks @samme)Return to the Change Log index.
📖 Read the Phaser 3 API Docs 💻 Browse 2000+ Code Examples 🤝 Join the awesome Phaser Discord
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )