Remove library lookup as layout can do it itself
This commit is contained in:
parent
e3f59ac00f
commit
9f60567f66
|
@ -303,7 +303,6 @@ impl<'gc> EditText<'gc> {
|
||||||
fn relayout(self, context: &mut UpdateContext<'_, 'gc, '_>) {
|
fn relayout(self, context: &mut UpdateContext<'_, 'gc, '_>) {
|
||||||
let mut edit_text = self.0.write(context.gc_context);
|
let mut edit_text = self.0.write(context.gc_context);
|
||||||
let movie = edit_text.static_data.swf.clone();
|
let movie = edit_text.static_data.swf.clone();
|
||||||
let library = context.library.library_for_movie(movie.clone()).unwrap();
|
|
||||||
|
|
||||||
if edit_text.is_multiline {
|
if edit_text.is_multiline {
|
||||||
//TODO: this should control if bounds are set during layout
|
//TODO: this should control if bounds are set during layout
|
||||||
|
|
Loading…
Reference in New Issue