• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 1015
84%
main: 89%

Build:
Build:
LAST BUILD BRANCH: renovate/fontsource-monorepo
DEFAULT BRANCH: main
Ran 04 Sep 2016 06:00PM UTC
Jobs 1
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1015

push

travis-ci

eonarheim
[#505] Fix child actor width and height calculations (#645)

Closes #505

![image](https://cloud.githubusercontent.com/assets/563819/18231954/a6ffd300-728a-11e6-8f9c-43f49a304059.png)


## Context

Child actors were not properly taking into account parent(s) scale when calculating their world width and height, so the bounding boxes and unit circle were not properly scaled/drawn.

Debug draw was compensating for previous world coord calculation (that has been fixed), so removed the canvas context transformations.

## Changes:

- Fix `Actor.getWidth()` and `Actor.getHeight()` to take into account global scale
- Fix debug drawing to work properly
- Add unit test coverage

6834 of 9120 relevant lines covered (74.93%)

77.43 hits per line

Coverage Regressions

Lines Coverage ∆ File
744
100.0
src/spec/TestsSpec.js
Jobs
ID Job ID Ran Files Coverage
1 1015.1 04 Sep 2016 06:00PM UTC 0
74.93
Travis Job 1015.1
Source Files on build 1015
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1015
  • c28a1609 on github
  • Prev Build on master (#1007)
  • Next Build on master (#1016)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc