mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 22:30:56 +00:00
Comply with Axel's code style :-D
This commit is contained in:
1 parent
214527501d
commit
b77d5020aa
1 file changed
+3
-2
@@ -531,10 +531,11 @@ public class RaceMapPanel extends FormPanel implements EventDisplayer, TimeListe
|
||||
public void onResize() {
|
||||
//handle what is required by @link{ProvidesResize}
|
||||
Widget child = getWidget();
|
||||
if (child instanceof RequiresResize)
|
||||
if (child instanceof RequiresResize) {
|
||||
((RequiresResize) child).onResize();
|
||||
}
|
||||
//and ensure the map (indirect child) is also informed about resize
|
||||
if(this.map != null){
|
||||
if (this.map != null) {
|
||||
this.map.onResize();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user