/
0 ? -0.25 : 0.25;
const oldScale = zoomScale;
zoomScale = Math.max(1, Math.min(4, zoomScale + delta));
if (oldScale === 1 && zoomScale > 1) {
const r = $el.getBoundingClientRect();
const cx = $event.clientX - (r.left + r.width/2);
const cy = $event.clientY - (r.top + r.height/2);
zoomPanX = -cx * (zoomScale-1)/zoomScale;
zoomPanY = -cy * (zoomScale-1)/zoomScale;
} else if (zoomScale > 1) {
zoomPanX = zoomPanX * (zoomScale / oldScale);
zoomPanY = zoomPanY * (zoomScale / oldScale);
}
if (zoomScale <= 1) { resetZoom(); } else { clampPan(); }
"
class="relative w-full h-full flex items-center justify-center p-4 [touch-action:none]"
:class="zoomScale > 1 ? (zoomPanning ? 'cursor-grabbing' : 'cursor-grab') : (total > 1 ? (modalDragging ? 'cursor-grabbing' : 'cursor-grab') : '')"
@mousedown="modalDragStart($event)"
@mousemove="modalDragMove($event)"
@mouseup="modalDragEnd($event)"
@mouseleave="modalDragEnd($event)"
@touchstart="modalDragStart($event)"
@touchmove="modalDragMove($event)"
@touchend="modalDragEnd($event)"
:style="modalDragOffset ? `transform: translateX(${modalDragOffset}px); transition: none;` : 'transition: transform 0.2s ease-out;'">
1) { resetZoom(); } else { const r = $el.getBoundingClientRect(); const cx = $event.clientX - (r.left + r.width/2); const cy = $event.clientY - (r.top + r.height/2); zoomScale = 2.5; zoomPanX = -cx * (zoomScale-1)/zoomScale; zoomPanY = -cy * (zoomScale-1)/zoomScale; clampPan(); } setTimeout(() => { zoomAnimating = false; }, 300);"
draggable="false"
:style="modalActive === largeIdx
? 'position:relative;transform: scale(' + zoomScale + ') translate(' + (zoomPanX / zoomScale) + 'px, ' + (zoomPanY / zoomScale) + 'px); transform-origin: center center; will-change: transform; transition: ' + (zoomAnimating ? 'transform 0.3s ease-out' : (zoomScale > 1 ? 'none' : 'transform 0.2s ease-out')) + ';'
: ''" />
FOR SALE: Apple MacBook Air 13" (MacOS Catalina) year 2012 Grade B
- “This device is no longer receiving software updates from Apple.”
Specs:
-
Model: MacBook Air 13-inch (MacOS Catalina)
-
Processor: Intel Core i5 (1.3 GHz Dual-Core)
-
RAM: 4GB
-
Storage: 128GB SSD
-
Operating System: MacOS Catalina.
-
Screen: 13.3" LED display (1440x900 resolution)
-
Ports: 2x USB 3.0, Thunderbolt, MagSafe 2, SD card slot
-
Battery: Good working condition (holds charge)
Condition:
Clean and fully functional. Normal wear and tear on the body (minor scratches/scuffs), but screen and keyboard are in great shape.
Perfect for basic tasks like web browsing, emails, word processing, and media playback.
Clean and fully functional. Normal wear and tear on the body (minor scratches/scuffs), but screen and keyboard are in great shape.
Perfect for basic tasks like web browsing, emails, word processing, and media playback.
Extras:
-
Comes with compatible charger
-
Reset and ready to use
Price: £299 each
Pickup/Shipping: Royal Mail
Location: UK ,
Location: UK ,
We ship to UK , EU , Middle East
📩 Feel free to message me for more info or to arrange pickup!
| Category | Laptops |
|---|---|
| Min. Quantity | 1 |
No reviews yet. Be the first to review this product!
Login to write a review
Related Products
£ 299.00
Maximum: 48
£ 299.00