Closed Bug 902115 Opened 11 years ago Closed 11 years ago

Remove the trackhandle Layer names

Categories

(Webmaker Graveyard :: Popcorn Maker, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: igoryen, Unassigned)

Details

Attachments

(1 file)

Instead of "Layer 0", "Layer 1", "Layer 3" etc., it would be enough to just display the numbers alone.
Assignee: nobody → igor.yentaltsev
Comment on attachment 786476 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/154

Yeah, as Matt said, removing that variable requires all uses of it to be removed.

Which also means you likely need to remove https://github.com/igoryen/popcorn.webmaker.org/blob/b8bc3efedb0badfb0cc1486f1da1a6e2f6373532/public/src/core/track.js#L21

This is going to cascade into removing a bunch of things, which is fine.

Example: https://github.com/igoryen/popcorn.webmaker.org/blob/b8bc3efedb0badfb0cc1486f1da1a6e2f6373532/public/src/core/track.js#L77

That's a getter and setter that other files could be using which also needs to be removed.

Example: https://github.com/igoryen/popcorn.webmaker.org/blob/b8bc3efedb0badfb0cc1486f1da1a6e2f6373532/public/src/timeline/trackhandles.js#L95

That track.name is interfacing with the getting and setter.

You also have to consider removing the cases where we display track.name.

Two of the areas you're concerned with regarding display are https://github.com/igoryen/popcorn.webmaker.org/blob/b8bc3efedb0badfb0cc1486f1da1a6e2f6373532/public/src/timeline/trackhandles.js#L95 and this one: https://github.com/igoryen/popcorn.webmaker.org/blob/b8bc3efedb0badfb0cc1486f1da1a6e2f6373532/public/src/timeline/trackhandles.js#L192
Attachment #786476 - Flags: review?(scott) → review-
Comment on attachment 786476 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/154

Layer names are believed to be unnecessary and good to be removed.
Summary: Remove the "Layer" NAME_PREFIX as unneded → Remove the trackhandle Layer names
Assignee: igor.yentaltsev → nobody
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: