From 9f60567f66c42a17f11bb0b67772c24f5358601f Mon Sep 17 00:00:00 2001 From: David Wendt Date: Wed, 20 May 2020 19:57:09 -0400 Subject: [PATCH] Remove library lookup as layout can do it itself --- core/src/display_object/edit_text.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/display_object/edit_text.rs b/core/src/display_object/edit_text.rs index 2a8b8ee10..d00ac7e71 100644 --- a/core/src/display_object/edit_text.rs +++ b/core/src/display_object/edit_text.rs @@ -303,7 +303,6 @@ impl<'gc> EditText<'gc> { fn relayout(self, context: &mut UpdateContext<'_, 'gc, '_>) { let mut edit_text = self.0.write(context.gc_context); let movie = edit_text.static_data.swf.clone(); - let library = context.library.library_for_movie(movie.clone()).unwrap(); if edit_text.is_multiline { //TODO: this should control if bounds are set during layout