import '../../../../globals.js';
import { scenery, Separator, WidthSizable } from '../../imports.js';
export default class HSeparator extends WidthSizable(Separator) {
    constructor(options) {
        super();
        this.localPreferredWidthProperty.link(width => {
            if (width !== null) {
                this.x2 = width;
            }
        });
        this.mutate(options);
    }
}
scenery.register('HSeparator', HSeparator);
//# sourceMappingURL=HSeparator.js.map