anchor.diff:        }
       } else {
         double maxDy = (_imageHeight - _height) / 2;
  -      if (_dy > maxDy) _dy = maxDy;
  -      else if (_dy < -maxDy) _dy = -maxDy;
  +      if (_dy > maxDy) {
  +        _dy = maxDy;
  +      }
  +      else if (_dy < -maxDy) {
  +        _dy = -maxDy;
  +      }
       }
     }
   
  
positive.code:       }
      } else {
        double maxDx = (_imageWidth - _width) / 2;
        if (_dx > maxDx) _dx = maxDx;
        else if (_dx < -maxDx) _dx = -maxDx;
      }
  
      if (_imageHeight < _height) {
  
negative.code: import 'dart:math' as math;
  import 'package:crypto/crypto.dart' show CryptoUtils;
  import 'package:chrome_gen/chrome_app.dart' as chrome;
  import 'package:mime/mime.dart' as mime;
  import '../utils/html_utils.dart';
  import '../../workspace.dart';
  
  